pep8 fixies
Closes #1067

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

Branch: refs/heads/trunk
Commit: 6fea2faa71d50078101fdae30c5a7023017ead42
Parents: 2b3c2e0
Author: johnnyWalnut <ikaryd...@gmail.com>
Authored: Fri Jun 2 16:23:54 2017 +0200
Committer: Anthony Shaw <anthonys...@apache.org>
Committed: Fri Aug 11 14:43:43 2017 +1000

----------------------------------------------------------------------
 libcloud/common/base.py              | 2 +-
 libcloud/container/drivers/docker.py | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/6fea2faa/libcloud/common/base.py
----------------------------------------------------------------------
diff --git a/libcloud/common/base.py b/libcloud/common/base.py
index f860a23..d90e1c5 100644
--- a/libcloud/common/base.py
+++ b/libcloud/common/base.py
@@ -871,7 +871,7 @@ class KeyCertificateConnection(CertificateConnection):
     argument.
     """
 
-    key_file=None
+    key_file = None
 
     def __init__(self, key_file, cert_file, secure=True, host=None, port=None,
                  url=None, proxy_url=None, timeout=None, backoff=None,

http://git-wip-us.apache.org/repos/asf/libcloud/blob/6fea2faa/libcloud/container/drivers/docker.py
----------------------------------------------------------------------
diff --git a/libcloud/container/drivers/docker.py 
b/libcloud/container/drivers/docker.py
index 37c8eb2..caf7e15 100644
--- a/libcloud/container/drivers/docker.py
+++ b/libcloud/container/drivers/docker.py
@@ -141,7 +141,8 @@ class DockertlsConnection(KeyCertificateConnection):
             self.key_file = key_file
 
             certpath = os.path.expanduser(cert_file)
-            is_file_path = os.path.exists(certpath) and 
os.path.isfile(certpath)
+            is_file_path = os.path.exists(
+                certpath) and os.path.isfile(certpath)
             if not is_file_path:
                 raise InvalidCredsError(
                     'You need an certificate PEM file to authenticate with '

Reply via email to