mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #24808 from cachedout/lint_state
Fix lint in state.py
This commit is contained in:
commit
b93fa83a72
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user