mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
lint: E8713(test-for-membership-should-be-not-in)
This commit is contained in:
parent
5a1b2ca486
commit
c462139dbb
@ -707,7 +707,7 @@ class Schedule(object):
|
||||
# Although catch-all exception handlers are bad, the exception here
|
||||
# is to let the exception bubble up to the top of the thread context,
|
||||
# where the thread will die silently, which is worse.
|
||||
if not 'return' in ret:
|
||||
if 'return' not in ret:
|
||||
ret['return'] = "Unhandled exception running {0}".format(ret['fun'])
|
||||
ret['success'] = False
|
||||
ret['retcode'] = 254
|
||||
|
Loading…
Reference in New Issue
Block a user