aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-05-16 15:35:59 +0200
committerTibor Frank <tifrank@cisco.com>2018-05-16 15:35:59 +0200
commit8c0d241b8b4b4289be8333b7fd1d5ce0726414d6 (patch)
treeddaacaff1c30900390f6a7c96739f2c3d4ac7664 /resources/tools/presentation
parent30f205347619919d15691f4b01da5e730840db38 (diff)
Trending: menu
Change-Id: I8f6528f915c96b5aca8482d8b86db5285e9aa1c9 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation')
-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.")