From 16133ea53bffd8e647cb2883038df1566a9b6161 Mon Sep 17 00:00:00 2001 From: twangboy Date: Sun, 5 Jan 2020 08:31:05 -0700 Subject: [PATCH] Fix some unrelated lint --- salt/states/loop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/states/loop.py b/salt/states/loop.py index c6370cb867da..524fa56c1a0c 100644 --- a/salt/states/loop.py +++ b/salt/states/loop.py @@ -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