Fix undefined variable on errors in Cycles ctests.
authorDmitry Dygalo <>
Sat, 10 Sep 2016 20:55:28 +0000 (22:55 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 14 Sep 2016 08:26:20 +0000 (10:26 +0200)
Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2201

tests/python/cycles_render_tests.py

index fb9a4b3..78b4b34 100755 (executable)
@@ -38,11 +38,11 @@ def render_file(filepath):
         elif b"blender probably wont start" in e.output:
             return "NO_START"
         return "CRASH"
-    except:
+    except BaseException as e:
         if os.path.exists(TEMP_FILE):
             os.remove(TEMP_FILE)
         if VERBOSE:
-            print(e.output.decode("utf-8"))
+            print(e)
         return "CRASH"