fixing lint error PEP8 E712

This commit is contained in:
Arnold Bechtoldt 2014-12-23 10:16:59 +01:00 committed by rallytime
parent 58fbb2a263
commit 4df6f5017f

View File

@ -902,13 +902,13 @@ def user_keys(user=None, pubfile=None, prvfile=None):
if pubfile:
userKeys.append(pubfile)
elif pubfile != False:
elif pubfile is not False:
# Add the default public keys
userKeys += ['id_rsa.pub', 'id_dsa.pub', 'id_ecdsa.pub', 'id_ed25519.pub']
if prvfile:
userKeys.append(prvfile)
elif prvfile != False:
elif prvfile is not False:
# Add the default private keys
userKeys += ['id_rsa', 'id_dsa', 'id_ecdsa', 'id_ed25519']