libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [03/11] libcloud git commit: lint fixes
Date Mon, 10 Jul 2017 07:45:21 GMT
lint fixes


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/123442fa
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/123442fa
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/123442fa

Branch: refs/heads/trunk
Commit: 123442fa7059ccad7a4281e6bdf173130d3fe085
Parents: 1867fda
Author: Anthony Shaw <anthonyshaw@apache.org>
Authored: Thu May 4 12:31:39 2017 +1000
Committer: Anthony Shaw <anthonyshaw@apache.org>
Committed: Thu May 4 12:31:39 2017 +1000

----------------------------------------------------------------------
 libcloud/common/openstack_identity.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/123442fa/libcloud/common/openstack_identity.py
----------------------------------------------------------------------
diff --git a/libcloud/common/openstack_identity.py b/libcloud/common/openstack_identity.py
index 7adad20..102e2e0 100644
--- a/libcloud/common/openstack_identity.py
+++ b/libcloud/common/openstack_identity.py
@@ -1062,8 +1062,10 @@ class OpenStackIdentity_3_0_Connection(OpenStackIdentityConnection):
             body = 'code: %s body:%s' % (response.status, response.body)
         elif response.status == 300:
             # ambiguous version request
-            raise LibcloudError('Auth request returned ambiguous version error, try' 
-                                'using the version specific URL to connect, e.g. identity/v3/auth/tokens')
+            raise LibcloudError(
+                'Auth request returned ambiguous version error, try'
+                'using the version specific URL to connect,'
+                ' e.g. identity/v3/auth/tokens')
         else:
             body = 'code: %s body:%s' % (response.status, response.body)
             raise MalformedResponseError('Malformed response', body=body,


Mime
View raw message