Merge pull request #24808 from cachedout/lint_state

Fix lint in state.py
This commit is contained in:
Mike Place 2015-06-18 12:13:06 -06:00
commit b93fa83a72

View File

@ -1773,7 +1773,7 @@ class State(object):
status = 'pre'
elif 'onfail' in fun_stats:
status = 'onfail'
elif 'onchanges' in fun_stats and not 'onchangesmet' in fun_stats:
elif 'onchanges' in fun_stats and 'onchangesmet' not in fun_stats:
status = 'onchanges'
elif 'change' in fun_stats:
status = 'change'