From 53a96cce26bca4fce6ad53b796132bc896056747 Mon Sep 17 00:00:00 2001 From: boucherv Date: Tue, 5 Jan 2016 15:07:14 +0100 Subject: Bugfix: logger .. Change-Id: I2333f53e5574214130d8b37c2e8b35fd03494b61 Signed-off-by: boucherv --- testcases/vIMS/CI/orchestrator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testcases/vIMS/CI/orchestrator.py b/testcases/vIMS/CI/orchestrator.py index 591f1420..77595c73 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): -- cgit 1.2.3-korg