Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Commit

Permalink
Fix indentation of generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
palesiak committed Jul 15, 2015
1 parent d38abba commit 101ce52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genrubyfrompy.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def getProps(pyClassDict):
bo0l = 'true' if getattr(flags, '_{}'.format(flag)) else 'false'
propflags.append("'{}' => {}".format(flag, bo0l))
prop_entries.append("'{}' => {{ {} }}".format(prop, ', '.join(propflags)))
return '{{ {} }}'.format(',\n'.join(prop_entries))
return '{{ {} }}'.format(',\n '.join(prop_entries))
# entries = ["%s => {".format(cls, props.get('isAdmin')) for cls,props in pyClassDict['_props'].items()]


Expand Down

0 comments on commit 101ce52

Please sign in to comment.