diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-07 06:54:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-07 10:28:02 +0300 |
commit | bf010c4a15840964ec92912e5582095d029bc314 (patch) | |
tree | d3f48d2eb0c3a6dfef1e30df98de73a754ef649c /release/scripts/modules/rna_info.py | |
parent | 5aade17bdf0f9d230c2e0bb7a97ead21a48895af (diff) |
Cleanup: pep8
Diffstat (limited to 'release/scripts/modules/rna_info.py')
-rw-r--r-- | release/scripts/modules/rna_info.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/release/scripts/modules/rna_info.py b/release/scripts/modules/rna_info.py index ed80423023e..dae262e93d7 100644 --- a/release/scripts/modules/rna_info.py +++ b/release/scripts/modules/rna_info.py @@ -696,7 +696,7 @@ def BuildRNAInfo(): return InfoStructRNA.global_lookup, InfoFunctionRNA.global_lookup, InfoOperatorRNA.global_lookup, InfoPropertyRNA.global_lookup -if __name__ == "__main__": +def main(): import rna_info struct = rna_info.BuildRNAInfo()[0] data = [] @@ -724,3 +724,7 @@ if __name__ == "__main__": else: text = bpy.data.texts.new(name="api.py") text.from_string(data) + + +if __name__ == "__main__": + main() |