Skip to content

Commit 2282501

Browse files
committed
Fix typos
1 parent 69af3d7 commit 2282501

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/pyarmor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ def _capsule(args):
559559
logging.info('Generating public capsule ...')
560560
make_capsule(capsule)
561561
else:
562-
logging.info('Do nothing, capsule %s has been exists', capsule)
562+
logging.info('Do nothing, capsule %s already exists', capsule)
563563

564564

565565
@arcommand

src/register.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ def query_keyinfo(key):
5858
email = data['email']
5959
if name and email:
6060
return 'This code is authorized to "%s <%s>"\n\n' \
61-
'Note: the registration name and email are got from ' \
62-
'remote server and shown here only, they will not be used ' \
61+
'Note: the registration name and email got from ' \
62+
'remote server is shown here only, they will not be used ' \
6363
'anywhere else. But the code "%s" will be distributed ' \
6464
'with obfusated scripts.' % (name, email, key)
6565

@@ -206,7 +206,7 @@ def select_key(rcode):
206206

207207

208208
def append_key(licfile, capsule):
209-
'''Append license to keyfile, ignore if license has been exists'''
209+
'''Append license to keyfile, ignore if license already exists'''
210210
with open(licfile, 'rb') as f:
211211
old_code = decode_license_key(f.read())
212212
if not old_code:

0 commit comments

Comments
 (0)