Skip to content

Commit

Permalink
Fix some unrelated lint
Browse files Browse the repository at this point in the history
  • Loading branch information
twangboy committed Jan 5, 2020
1 parent 7bea94d commit 16133ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/states/loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def until_no_eval(
current_attempt += 1
try:
res = __salt__[name](*args, **kwargs)
except Exception:
except Exception: # pylint: disable=broad-except
(exc_type, exc_value, _) = sys.exc_info()
ret['comment'] = 'Exception occurred while executing {}: {}:{}'.format(name, exc_type, exc_value)
break
Expand Down

0 comments on commit 16133ea

Please sign in to comment.