Repository: libcloud Updated Branches: refs/heads/trunk 3aca6ae03 -> af535b119
Fix lint. Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/af535b11 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/af535b11 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/af535b11 Branch: refs/heads/trunk Commit: af535b119f2927649aa5664d0bc00f6dbac36c67 Parents: 3aca6ae Author: Tomaz Muraus <[email protected]> Authored: Fri May 23 12:44:17 2014 +0200 Committer: Tomaz Muraus <[email protected]> Committed: Fri May 23 12:44:17 2014 +0200 ---------------------------------------------------------------------- libcloud/common/cloudstack.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/af535b11/libcloud/common/cloudstack.py ---------------------------------------------------------------------- diff --git a/libcloud/common/cloudstack.py b/libcloud/common/cloudstack.py index 6c0c30e..b13ca09 100644 --- a/libcloud/common/cloudstack.py +++ b/libcloud/common/cloudstack.py @@ -155,9 +155,9 @@ class CloudStackConnection(ConnectionUserAndKey, PollingConnection): # Work around for older verions which don't return "response" suffix # in delete ingress rule response command name - if command == 'revokesecuritygroupingress' and \ - not 'revokesecuritygroupingressresponse' in result.object: - command = command + if (command == 'revokesecuritygroupingress' and not + 'revokesecuritygroupingressresponse' in result.object): + command = command else: command = command + 'response'
