mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fix PEP8 E713 - test for membership should be "not in"
This commit is contained in:
parent
c72ec32872
commit
e3075ac5d1
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user