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/revoke-userid.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/revoke-userid.py')
-rwxr-xr-x | lang/python/examples/howto/revoke-userid.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/examples/howto/revoke-userid.py b/lang/python/examples/howto/revoke-userid.py index ac5f6495..da84ad17 100755 --- a/lang/python/examples/howto/revoke-userid.py +++ b/lang/python/examples/howto/revoke-userid.py @@ -53,7 +53,7 @@ else: fpr = "".join(fpr0.split()) -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) |