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:07 UTC

[16/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/6326f982
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/6326f982
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/6326f982

Branch: refs/heads/requests
Commit: 6326f9820eb785ce521c7d376825a4d3e36c8f95
Parents: 0d1fdce
Author: anthony-shaw <an...@gmail.com>
Authored: Tue Mar 29 21:14:58 2016 +1100
Committer: anthony-shaw <an...@gmail.com>
Committed: Tue Mar 29 21:14:58 2016 +1100

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/6326f982/libcloud/common/base.py
----------------------------------------------------------------------
diff --git a/libcloud/common/base.py b/libcloud/common/base.py
index acf9a7f..badce2c 100644
--- a/libcloud/common/base.py
+++ b/libcloud/common/base.py
@@ -600,7 +600,7 @@ class Connection(object):
                 url = '?'.join((action, urlencode(params, doseq=True)))
         else:
             url = action
-            
+
         # IF connection has not yet been established
         if self.connection is None:
             self.connect()

http://git-wip-us.apache.org/repos/asf/libcloud/blob/6326f982/libcloud/httplib_ssl.py
----------------------------------------------------------------------
diff --git a/libcloud/httplib_ssl.py b/libcloud/httplib_ssl.py
index aea5eb6..b8d9286 100644
--- a/libcloud/httplib_ssl.py
+++ b/libcloud/httplib_ssl.py
@@ -143,7 +143,7 @@ class LibcloudConnection(LibcloudBaseConnection):
     host = None
     response = None
 
-    def __init__(self,  host, port, **kwargs):
+    def __init__(self, host, port, **kwargs):
         self.host = '{}://{}'.format(
             'https' if port == 443 else 'http',
             host