mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
fix 'OrderedDict' object has no attribute 'append' stack trace in _handle_iorder in case of syntax error
This commit is contained in:
parent
b821f6a174
commit
1def8741db
@ -2093,6 +2093,9 @@ class BaseHighState(object):
|
||||
if arg.keys()[0] == 'order':
|
||||
found = True
|
||||
if not found:
|
||||
if not isinstance(state[name][s_dec], list):
|
||||
# quite certainly a syntax error, managed elsewhere
|
||||
continue
|
||||
state[name][s_dec].append(
|
||||
{'order': self.iorder}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user