[ERROR
] An exception occurred in this state: Traceback (most recent call last):


 "/opt/salt/lib/python2.7/site-packages/salt/state.py", line 1905, in call

**cdata['kwargs'])


 "/opt/salt/lib/python2.7/site-packages/salt/loader.py", line 1830, in wrapper

return f(*args, **kwargs)


 "/opt/salt/lib/python2.7/site-packages/salt/states/file.py", line 4119, in replace

backslash_literal=backslash_literal)


 "/opt/salt/lib/python2.7/site-packages/salt/modules/file.py", line 2420, in replace

check_perms(path, None, pre_user, pre_group, pre_mode)


 "/opt/salt/lib/python2.7/site-packages/salt/modules/file.py", line 4460, in check_perms

lattrs = lsattr(name)


 "/opt/salt/lib/python2.7/site-packages/salt/modules/file.py", line 573, in lsattr

results[vals[1]] = re.findall(r"[acdijstuADST]", vals[0])
IndexError: list index out of range

Traceback (most recent call last):


 "/home/luke/pylint/py36/bin/pylint", line 11, in <module>

sys.exit(run_pylint())


 "/home/luke/pylint/py36/lib/python3.6/site-packages/pylint/__init__.py", line 13, in run_pylint

Run(sys.argv[1:])


 "/home/luke/pylint/py36/lib/python3.6/site-packages/pylint/lint.py", line 1300, in __init__

linter.check(args)


 "/home/luke/pylint/py36/lib/python3.6/site-packages/pylint/lint.py", line 726, in check

self._do_check(files_or_modules)


 "/home/luke/pylint/py36/lib/python3.6/site-packages/pylint/lint.py", line 855, in _do_check

self.check_astroid_module(ast_node, walker, rawcheckers, tokencheckers)


 "/home/luke/pylint/py36/lib/python3.6/site-packages/pylint/lint.py", line 934, in check_astroid_module

walker.walk(ast_node)


 "/home/luke/pylint/py36/lib/python3.6/site-packages/pylint/utils.py", line 973, in walk

self.walk(child)


 "/home/luke/pylint/py36/lib/python3.6/site-packages/pylint/utils.py", line 973, in walk

self.walk(child)


 "/home/luke/pylint/py36/lib/python3.6/site-packages/pylint/utils.py", line 970, in walk

cb(astroid)


 "/home/luke/pylint/py36/lib/python3.6/site-packages/pylint/checkers/refactoring.py", line 302, in visit_if

self._check_simplifiable_if(node)


 "/home/luke/pylint/py36/lib/python3.6/site-packages/pylint/checkers/refactoring.py", line 161, in _check_simplifiable_if

if self._is_actual_elif(node):


 "/home/luke/pylint/py36/lib/python3.6/site-packages/pylint/checkers/refactoring.py", line 147, in _is_actual_elif

if self._elifs[self._if_counter]:
IndexError: list index out of range
