Skip to content

Commit

Permalink
Remove unnecessary else
Browse files Browse the repository at this point in the history
  • Loading branch information
basepi committed May 17, 2013
1 parent 52c621e commit df4c0b4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions salt/utils/__init__.py
Expand Up @@ -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):
Expand Down

0 comments on commit df4c0b4

Please sign in to comment.