You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2017/07/10 07:45:21 UTC

[03/11] libcloud git commit: lint fixes

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 <an...@apache.org>
Authored: Thu May 4 12:31:39 2017 +1000
Committer: Anthony Shaw <an...@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,