From: Serge Rehbinder Date: Mon, 17 Oct 2016 14:09:28 +0000 (+0200) Subject: bug fix for debug compilation mode X-Git-Tag: 5.0.0a1~75 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=db9d0623e09b78ac843fef98db94b6de6ce904e1;p=tools%2Fsat.git bug fix for debug compilation mode --- diff --git a/src/compilation.py b/src/compilation.py index 59970c1..0cf9b16 100644 --- a/src/compilation.py +++ b/src/compilation.py @@ -38,7 +38,6 @@ class Builder: logger, product_info, options = src.options.OptResult(), - debug_mode=False, check_src=True): self.config = config self.logger = logger @@ -48,7 +47,9 @@ class Builder: self.source_dir = src.Path(self.product_info.source_dir) self.install_dir = src.Path(self.product_info.install_dir) self.header = "" - self.debug_mode = debug_mode + self.debug_mode = False + if "debug" in self.product_info and self.product_info.debug == "yes": + self.debug_mode = True ## # Shortcut method to log in log file.