Repository: libcloud Updated Branches: refs/heads/trunk af535b119 -> 0283f3c3b
Fix lint. Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/0283f3c3 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/0283f3c3 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/0283f3c3 Branch: refs/heads/trunk Commit: 0283f3c3bda0ce181c9060bd34926fcdb24db090 Parents: af535b1 Author: Tomaz Muraus <[email protected]> Authored: Fri May 23 13:04:21 2014 +0200 Committer: Tomaz Muraus <[email protected]> Committed: Fri May 23 13:04:21 2014 +0200 ---------------------------------------------------------------------- libcloud/common/cloudstack.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/0283f3c3/libcloud/common/cloudstack.py ---------------------------------------------------------------------- diff --git a/libcloud/common/cloudstack.py b/libcloud/common/cloudstack.py index b13ca09..b23d453 100644 --- a/libcloud/common/cloudstack.py +++ b/libcloud/common/cloudstack.py @@ -155,8 +155,8 @@ 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): + if (command == 'revokesecuritygroupingress' and + 'revokesecuritygroupingressresponse' not in result.object): command = command else: command = command + 'response'
