aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/utils.py
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/utils.py
parent30f205347619919d15691f4b01da5e730840db38 (diff)
Trending: menu
Change-Id: I8f6528f915c96b5aca8482d8b86db5285e9aa1c9 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/utils.py')
-rw-r--r--resources/tools/presentation/utils.py6
1 files changed, 4 insertions, 2 deletions
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.")