summaryrefslogtreecommitdiff
path: root/hacking
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2016-12-06 18:00:35 -0500
committerMatt Clay <matt@mystile.com>2016-12-08 11:35:20 -0500
commit75c281debc2b29399ecd14e1dfc4898460811e24 (patch)
treeb34f8769045251d5794d6c3cd376f91bd2dc8b34 /hacking
parent47083f145aeefd574b1f1db42defe8632bc7e223 (diff)
downloadansible-75c281debc2b29399ecd14e1dfc4898460811e24.tar.gz
Fix compile errors in scripts.
Diffstat (limited to 'hacking')
-rwxr-xr-xhacking/dump_playbook_attributes.py2
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':