diff options
author | Matt Clay <matt@mystile.com> | 2016-12-06 18:00:35 -0500 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2016-12-08 11:35:20 -0500 |
commit | 75c281debc2b29399ecd14e1dfc4898460811e24 (patch) | |
tree | b34f8769045251d5794d6c3cd376f91bd2dc8b34 /hacking | |
parent | 47083f145aeefd574b1f1db42defe8632bc7e223 (diff) | |
download | ansible-75c281debc2b29399ecd14e1dfc4898460811e24.tar.gz |
Fix compile errors in scripts.
Diffstat (limited to 'hacking')
-rwxr-xr-x | hacking/dump_playbook_attributes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hacking/dump_playbook_attributes.py b/hacking/dump_playbook_attributes.py index 357fbfaec2..c1efb9c162 100755 --- a/hacking/dump_playbook_attributes.py +++ b/hacking/dump_playbook_attributes.py @@ -29,7 +29,7 @@ for aclass in class_list: # build ordered list to loop over and dict with attributes clist.append(name) - oblist[name] = {x: aobj.__dict__['_attributes'][x] for x in aobj.__dict__['_attributes'] if 'private' not in x or not x.private} + oblist[name] = dict((x, aobj.__dict__['_attributes'][x]) for x in aobj.__dict__['_attributes'] if 'private' not in x or not x.private) # loop is really with_ for users if name == 'Task': |