libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [32/33] libcloud git commit: Fix linting errors
Date Tue, 05 Apr 2016 11:17:23 GMT
Fix linting errors


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

Branch: refs/heads/requests
Commit: 04d4655b29a25677324557c4a8caad19944e4966
Parents: 6c2d57c
Author: anthony-shaw <anthony.p.shaw@gmail.com>
Authored: Tue Apr 5 18:04:02 2016 +1000
Committer: anthony-shaw <anthony.p.shaw@gmail.com>
Committed: Tue Apr 5 18:04:02 2016 +1000

----------------------------------------------------------------------
 libcloud/common/base.py           | 2 +-
 libcloud/test/compute/test_gce.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/04d4655b/libcloud/common/base.py
----------------------------------------------------------------------
diff --git a/libcloud/common/base.py b/libcloud/common/base.py
index fa1f0ba..b1ec3d9 100644
--- a/libcloud/common/base.py
+++ b/libcloud/common/base.py
@@ -151,7 +151,7 @@ class Response(object):
         self.headers = lowercase_keys(dict(response.headers))
         self.error = response.reason
         self.status = response.status_code
-        
+
         if isinstance(response.text, basestring):
             self.body = response.text.strip() \
                 if response.text is not None else ''

http://git-wip-us.apache.org/repos/asf/libcloud/blob/04d4655b/libcloud/test/compute/test_gce.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_gce.py b/libcloud/test/compute/test_gce.py
index e315e2d..90699ef 100644
--- a/libcloud/test/compute/test_gce.py
+++ b/libcloud/test/compute/test_gce.py
@@ -30,7 +30,7 @@ from libcloud.compute.drivers.gce import (GCENodeDriver, API_VERSION,
                                           GCEZone)
 from libcloud.common.google import (GoogleBaseAuthConnection,
                                     ResourceNotFoundError, ResourceExistsError,
-                                    InvalidRequestError, GoogleBaseError)
+                                    GoogleBaseError)
 from libcloud.test.common.test_google import GoogleAuthMockHttp, GoogleTestCase
 from libcloud.compute.base import Node, StorageVolume
 


Mime
View raw message