Fix PEP8 E713 - test for membership should be "not in"

This commit is contained in:
Pedro Algarvio 2014-06-06 10:37:44 +01:00
parent c72ec32872
commit e3075ac5d1

View File

@ -862,7 +862,7 @@ def user_keys(user=None, pubfile=None, prvfile=None):
keys[u] = {}
userinfo = __salt__['user.info'](u)
if not 'home' in userinfo:
if 'home' not in userinfo:
# no home directory, skip
continue