10000 If it's not a `dict`, it should not be treated like one. · linuxadmin/salt@94b9dec · GitHub
[go: up one dir, main page]

Skip to content

Commit 94b9dec

Browse files
committed
If it's not a dict, it should not be treated like one.
1 parent 39af3fb commit 94b9dec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

salt/state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ def verify_high(self, high):
361361
errors.append(err)
362362
if not isinstance(body, dict):
363363
err = ('The type {0} in {1} is not formated as a dictionary'
364-
.format(name, body['__sls__']))
364+
.format(name, body))
365365
errors.append(err)
366366
continue
367367
for state in body:

0 commit comments

Comments
 (0)
0