Fix compile errors in scripts.

This commit is contained in:
Matt Clay 2016-12-06 18:00:35 -05:00
parent 47083f145a
commit 75c281debc
6 changed files with 9 additions and 13 deletions

View file

@ -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':