summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorboucherv <valentin.boucher@orange.com>2016-01-05 15:07:14 +0100
committerboucherv <valentin.boucher@orange.com>2016-01-05 15:07:14 +0100
commit53a96cce26bca4fce6ad53b796132bc896056747 (patch)
treef206051a7aca49a757bfa05ddbf461eb0d05e9d8
parent83012b18530476225f64bf8f01b9a88049a2ed41 (diff)
Bugfix: logger ..
Change-Id: I2333f53e5574214130d8b37c2e8b35fd03494b61 Signed-off-by: boucherv <valentin.boucher@orange.com>
-rw-r--r--testcases/vIMS/CI/orchestrator.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testcases/vIMS/CI/orchestrator.py b/testcases/vIMS/CI/orchestrator.py
index 591f14204..77595c735 100644
--- a/testcases/vIMS/CI/orchestrator.py
+++ b/testcases/vIMS/CI/orchestrator.py
@@ -156,7 +156,8 @@ class orchestrator:
try:
execute_command(cmd, self.logger)
except:
- logger.error("Clearwater undeployment failed")
+ if self.logger:
+ self.logger.error("Clearwater undeployment failed")
def execute_command(cmd, logger):