Remove unnecessary else

This commit is contained in:
Colton Myers 2013-05-15 09:43:21 -06:00
parent 825458ecf1
commit a4241facdb

View File

@ -908,8 +908,7 @@ def check_state_result(running):
if isinstance(rets, dict) and 'result' in rets:
if rets['result'] is False:
return False
else:
return True
return True
for ret in rets:
if not isinstance(ret, dict):