mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Fix compile errors in scripts.
This commit is contained in:
parent
47083f145a
commit
75c281debc
6 changed files with 9 additions and 13 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue