Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-04-24 23:31:20 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-24 23:36:16 +0400
commita15be343895d4f3481eb349b4d145ffbe1c10dce (patch)
treea49eb487e061df8e8378eeb3b2318c4d084babc2 /doc/python_api/sphinx_doc_gen.py
parent16443b1ae0f79e853ce13f17a3513a12c5cd8883 (diff)
Code cleanup: unused python vars & imports
Use frosted rather then pyflakes
Diffstat (limited to 'doc/python_api/sphinx_doc_gen.py')
-rw-r--r--doc/python_api/sphinx_doc_gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index 4cea81d5cf0..3169fda5e3a 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -62,7 +62,7 @@ Sphinx: PDF generation
try:
import bpy # blender module
-except:
+except ImportError:
print("\nERROR: this script must run from inside Blender")
print(SCRIPT_HELP_MSG)
import sys