From 9fc1cfc4f1e61d5c4c929ead6736afa2d88f5969 Mon Sep 17 00:00:00 2001 From: Dmitry Dygalo <> Date: Sat, 10 Sep 2016 22:55:28 +0200 Subject: Fix undefined variable on errors in Cycles ctests. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2201 --- tests/python/cycles_render_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/python/cycles_render_tests.py b/tests/python/cycles_render_tests.py index fb9a4b348b7..78b4b346f24 100755 --- a/tests/python/cycles_render_tests.py +++ b/tests/python/cycles_render_tests.py @@ -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" -- cgit v1.2.3