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 2016/04/05 13:17:23 UTC
[32/33] libcloud git commit: Fix linting errors
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 <an...@gmail.com>
Authored: Tue Apr 5 18:04:02 2016 +1000
Committer: anthony-shaw <an...@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