fixed pylint errors

This commit is contained in:
Raine Curtis 2018-07-09 11:58:38 -06:00
parent f6d9177dab
commit 1556b37221

View file

@ -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