libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [17/44] git commit: flake8 fixes
Date Fri, 03 Jan 2014 14:59:29 GMT
flake8 fixes


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

Branch: refs/heads/trunk
Commit: 9ea6e7cdacf19789b30b1ea551aa26585d6040fd
Parents: dcf2a26
Author: Rick Wright <rickw@google.com>
Authored: Fri Dec 20 15:52:00 2013 -0800
Committer: Rick Wright <rickw@google.com>
Committed: Fri Dec 20 15:52:00 2013 -0800

----------------------------------------------------------------------
 libcloud/common/google.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/9ea6e7cd/libcloud/common/google.py
----------------------------------------------------------------------
diff --git a/libcloud/common/google.py b/libcloud/common/google.py
index 01c3cb0..2206c25 100644
--- a/libcloud/common/google.py
+++ b/libcloud/common/google.py
@@ -167,7 +167,7 @@ class GoogleResponse(JsonResponse):
             err = body['error']['errors'][0]
         else:
             err = body['error']
-        
+
         if 'code' in err:
             code = err.get('code')
             message = err.get('message')
@@ -227,8 +227,8 @@ class GoogleResponse(JsonResponse):
             else:
                 message = body
                 code = None
-            raise InvalidRequestError(message, self.status, code) 
-                
+            raise InvalidRequestError(message, self.status, code)
+
         else:
             if (not json_error) and ('error' in body):
                 (code, message) = self._get_error(body)


Mime
View raw message