mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fixed pylint errors
This commit is contained in:
parent
f6d9177dab
commit
1556b37221
1 changed files with 2 additions and 1 deletions
|
@ -72,6 +72,7 @@ def _changes(name,
|
|||
delusers = [salt.utils.win_functions.get_sam_name(user).lower() for user in delusers]
|
||||
|
||||
change = {}
|
||||
ret = {}
|
||||
if gid:
|
||||
try:
|
||||
gid = int(gid)
|
||||
|
@ -80,7 +81,7 @@ def _changes(name,
|
|||
except (TypeError, ValueError):
|
||||
ret['result'] = False
|
||||
ret['comment'] = 'Invalid gid'
|
||||
return ret
|
||||
return ret
|
||||
|
||||
if members:
|
||||
# -- if new member list if different than the current
|
||||
|
|
Loading…
Add table
Reference in a new issue