You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2014/01/03 15:59:29 UTC

[17/44] git commit: flake8 fixes

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 <ri...@google.com>
Authored: Fri Dec 20 15:52:00 2013 -0800
Committer: Rick Wright <ri...@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)