aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools')
-rw-r--r--resources/tools/presentation/generator_CPTA.py3
-rw-r--r--resources/tools/presentation/utils.py6
2 files changed, 4 insertions, 5 deletions
diff --git a/resources/tools/presentation/generator_CPTA.py b/resources/tools/presentation/generator_CPTA.py
index 12ebd46922..883e39f0bd 100644
--- a/resources/tools/presentation/generator_CPTA.py
+++ b/resources/tools/presentation/generator_CPTA.py
@@ -400,9 +400,6 @@ def _generate_all_charts(spec, input_data):
)
except KeyError:
build_info[build] = ("", "")
- logging.info("{}: {}, {}".format(build,
- build_info[build][0],
- build_info[build][1]))
# Create the header:
csv_table = list()
diff --git a/resources/tools/presentation/utils.py b/resources/tools/presentation/utils.py
index 59dbfa634b..ab86bafdd7 100644
--- a/resources/tools/presentation/utils.py
+++ b/resources/tools/presentation/utils.py
@@ -198,8 +198,10 @@ def execute_command(cmd):
stdout, stderr = proc.communicate()
- logging.debug(stdout)
- logging.debug(stderr)
+ if stdout:
+ logging.info(stdout)
+ if stderr:
+ logging.info(stderr)
if proc.returncode != 0:
logging.error(" Command execution failed.")