diff options
| author | Ben McGinnes <[email protected]> | 2018-12-05 14:50:52 +0000 | 
|---|---|---|
| committer | Ben McGinnes <[email protected]> | 2018-12-05 14:50:52 +0000 | 
| commit | dc5600d306f808767068bad5117232fc3d35ac43 (patch) | |
| tree | cf30c1648d73aed25ae258c04d9dd8086b70ef73 /lang/python/examples/howto/create-key.py | |
| parent | python: windows c and cython (diff) | |
| download | gpgme-dc5600d306f808767068bad5117232fc3d35ac43.tar.gz gpgme-dc5600d306f808767068bad5117232fc3d35ac43.zip  | |
python: examples
* cut some of then poor len usage.
Diffstat (limited to 'lang/python/examples/howto/create-key.py')
| -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)  | 
