From: boucherv Date: Tue, 5 Jan 2016 14:07:14 +0000 (+0100) Subject: Bugfix: logger .. X-Git-Tag: brahmaputra.1.0~208 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F85%2F5585%2F1;p=functest.git Bugfix: logger .. Change-Id: I2333f53e5574214130d8b37c2e8b35fd03494b61 Signed-off-by: boucherv --- 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):