From a30184d6406d6c4aee6c9bc9d1108d3f956344a2 Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Tue, 13 Sep 2016 14:43:24 +0200 Subject: [PATCH] bug fix for python script compilation --- src/compilation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compilation.py b/src/compilation.py index 2ef1cb3..f46098b 100644 --- a/src/compilation.py +++ b/src/compilation.py @@ -380,10 +380,11 @@ CC=\\"hack_libtool\\"%g" libtool''' retcode = pymodule.compil(self.config, self, self.logger) except: __, exceptionValue, exceptionTraceback = sys.exc_info() - print(exceptionValue) + self.logger.write(exceptionValue, 1) import traceback traceback.print_tb(exceptionTraceback) traceback.print_exc() + retcode = 1 return retcode -- 2.39.2