libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [1/2] libcloud git commit: Fix lint.
Date Fri, 22 Jan 2016 17:49:30 GMT
Repository: libcloud
Updated Branches:
  refs/heads/trunk b6f5e2dcd -> 1ae123fb7


Fix lint.


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

Branch: refs/heads/trunk
Commit: a6642d4d6375dd247a0e993351721b92a142462f
Parents: b6f5e2d
Author: Tomaz Muraus <tomaz@apache.org>
Authored: Fri Jan 22 18:37:15 2016 +0100
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Fri Jan 22 18:37:15 2016 +0100

----------------------------------------------------------------------
 libcloud/container/drivers/kubernetes.py |  3 +--
 libcloud/container/utils/docker.py       | 14 ++++++--------
 2 files changed, 7 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/a6642d4d/libcloud/container/drivers/kubernetes.py
----------------------------------------------------------------------
diff --git a/libcloud/container/drivers/kubernetes.py b/libcloud/container/drivers/kubernetes.py
index ed02112..426a5ef 100644
--- a/libcloud/container/drivers/kubernetes.py
+++ b/libcloud/container/drivers/kubernetes.py
@@ -365,8 +365,7 @@ class KubernetesContainerDriver(ContainerDriver):
                 name=data['image'],
                 path=None,
                 version=None,
-                driver=self.connection.driver
-                ),
+                driver=self.connection.driver),
             ip_addresses=None,
             state=ContainerState.RUNNING,
             driver=self.connection.driver,

http://git-wip-us.apache.org/repos/asf/libcloud/blob/a6642d4d/libcloud/container/utils/docker.py
----------------------------------------------------------------------
diff --git a/libcloud/container/utils/docker.py b/libcloud/container/utils/docker.py
index ba83097..da67516 100644
--- a/libcloud/container/utils/docker.py
+++ b/libcloud/container/utils/docker.py
@@ -33,14 +33,12 @@ class DockerHubConnection(Connection):
                  secure=True,
                  port=None, url=None, timeout=None,
                  proxy_url=None, backoff=None, retry_delay=None):
-        super(DockerHubConnection, self).__init__(
-            secure=secure, host=host,
-            port=port, url=url,
-            timeout=timeout,
-            proxy_url=proxy_url,
-            backoff=backoff,
-            retry_delay=retry_delay
-            )
+        super(DockerHubConnection, self).__init__(secure=secure, host=host,
+                                                  port=port, url=url,
+                                                  timeout=timeout,
+                                                  proxy_url=proxy_url,
+                                                  backoff=backoff,
+                                                  retry_delay=retry_delay)
         self.username = username
         self.password = password
 


Mime
View raw message