lint: E8713(test-for-membership-should-be-not-in)

This commit is contained in:
Duncan Mac-Vicar P 2016-01-11 09:58:17 +01:00
parent 5a1b2ca486
commit c462139dbb

View File

@ -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