diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-01-29 07:35:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-01-29 07:35:06 +0300 |
commit | 7095f4766593cc2b55669b032d7de0fa13fcb4c7 (patch) | |
tree | 3567f182b513225a1b522b75e144eb5b75d1b6e2 /doc | |
parent | d434815ff7c586f6e54af667e37c9d2d12726416 (diff) |
cleanup: pep8
also remove empty class parenthesis
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/examples/bpy.types.Panel.2.py | 2 | ||||
-rw-r--r-- | doc/python_api/sphinx_changelog_gen.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/python_api/examples/bpy.types.Panel.2.py b/doc/python_api/examples/bpy.types.Panel.2.py index a4b2f1fd338..261430f1396 100644 --- a/doc/python_api/examples/bpy.types.Panel.2.py +++ b/doc/python_api/examples/bpy.types.Panel.2.py @@ -7,7 +7,7 @@ A mix-in parent class can be used to share common properties and import bpy -class View3DPanel(): +class View3DPanel: bl_space_type = 'VIEW_3D' bl_region_type = 'TOOLS' diff --git a/doc/python_api/sphinx_changelog_gen.py b/doc/python_api/sphinx_changelog_gen.py index 3b968de9a2c..0b083c31c58 100644 --- a/doc/python_api/sphinx_changelog_gen.py +++ b/doc/python_api/sphinx_changelog_gen.py @@ -316,7 +316,7 @@ def main(): try: import argparse - except: + except ImportError: print("Old Blender, just dumping") api_dump() return |