diff options
Diffstat (limited to '')
-rwxr-xr-x | lang/python/examples/howto/create-key.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/examples/howto/create-key.py b/lang/python/examples/howto/create-key.py index f7da2069..9058c194 100755 --- a/lang/python/examples/howto/create-key.py +++ b/lang/python/examples/howto/create-key.py @@ -52,7 +52,7 @@ elif os.path.exists(homedir) is True: else: pass -if len(uid_cmnt) > 0: +if uid_cmnt: userid = "{0} ({1}) <{2}>".format(uid_name, uid_cmnt, uid_email) else: userid = "{0} <{2}>".format(uid_name, uid_email) |