From cb58676ff8768a11f574dda85eeb81599052db52 Mon Sep 17 00:00:00 2001 From: Prasanna Santhanam Date: Wed, 21 Mar 2012 12:23:14 +0530 Subject: [PATCH] fixing error in conditional introduced by conflict reviewed-by: Edison Su --- tools/testClient/cloudstackConnection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testClient/cloudstackConnection.py b/tools/testClient/cloudstackConnection.py index 199555915fe..435ef3fd69a 100644 --- a/tools/testClient/cloudstackConnection.py +++ b/tools/testClient/cloudstackConnection.py @@ -143,10 +143,10 @@ class cloudConnection(object): else: result = self.make_request_without_auth(commandName, requests) - if result is None: - return None if self.logging is not None: self.logging.debug("got result: %s"%result) + if result is None: + return None result = jsonHelper.getResultObj(result, response) if raw or isAsync == "false":