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>2018-07-03 07:58:34 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-03 07:58:34 +0300
commit00fc1d70a70694973c53d4974ed21ef888532d0a (patch)
tree5c40fa7d2a915c764b244fbed591fae5b4072a74 /source/blender/python/simple_enum_gen.py
parente856eb7e8b65a7391c89b0938de49bb7d781f5dc (diff)
parent8c15d612a5cdfe39233c7f2b7556742091c82558 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/python/simple_enum_gen.py')
-rw-r--r--source/blender/python/simple_enum_gen.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/python/simple_enum_gen.py b/source/blender/python/simple_enum_gen.py
index 95052ccae0c..6094154050b 100644
--- a/source/blender/python/simple_enum_gen.py
+++ b/source/blender/python/simple_enum_gen.py
@@ -50,8 +50,10 @@ for d in defs.split('\n'):
if not w:
continue
- try: w.remove("#define")
- except: pass
+ try:
+ w.remove("#define")
+ except:
+ pass
# print w