libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [34/44] git commit: flake8 fixes
Date Fri, 03 Jan 2014 14:59:46 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/e138a1b5
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/e138a1b5
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/e138a1b5

Branch: refs/heads/trunk
Commit: e138a1b5c48a4755b1a811fe72489988b653051a
Parents: 64ad1cd
Author: Rick Wright <rickw@google.com>
Authored: Fri Dec 20 15:52:00 2013 -0800
Committer: Rick Wright <rickw@google.com>
Committed: Thu Jan 2 23:30:03 2014 -0800

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/e138a1b5/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