Cleanup: pep8

This commit is contained in:
Campbell Barton
2015-06-07 13:54:13 +10:00
parent 5aade17bdf
commit bf010c4a15
9 changed files with 111 additions and 84 deletions

View File

@@ -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()