Skip to content

Commit

Permalink
Merge pull request #49827 from dgmorrisjr/fix_modules_file
Browse files Browse the repository at this point in the history
fixing mis-spelling of lattrs in file.py, referncing #49204
  • Loading branch information
Mike Place authored Sep 30, 2018
2 parents f8934ef + ea85c1c commit 8a8a7fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/modules/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -4511,7 +4511,7 @@ def check_perms(name, ret, user, group, mode, attrs=None, follow_symlinks=False)
try:
lattrs = lsattr(name)
except SaltInvocationError:
lsattrs = None
lattrs = None
if lattrs is not None:
# List attributes on file
perms['lattrs'] = ''.join(lattrs.get(name, ''))
Expand Down

0 comments on commit 8a8a7fe

Please sign in to comment.