libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [10/24] libcloud git commit: Further flake8 fixes.
Date Mon, 05 Sep 2016 11:56:50 GMT
Further flake8 fixes.


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

Branch: refs/heads/trunk
Commit: c6439b92cda664fd46d6b756ba628d2a2166bf3c
Parents: a520b31
Author: Aimon Bustardo <aimon.bustardo@dimensiondata.com>
Authored: Fri Aug 26 19:55:29 2016 -0500
Committer: Aimon Bustardo <aimon.bustardo@dimensiondata.com>
Committed: Fri Aug 26 19:55:29 2016 -0500

----------------------------------------------------------------------
 libcloud/common/openstack_identity.py          |  4 ++--
 libcloud/loadbalancer/drivers/dimensiondata.py | 12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/c6439b92/libcloud/common/openstack_identity.py
----------------------------------------------------------------------
diff --git a/libcloud/common/openstack_identity.py b/libcloud/common/openstack_identity.py
index 7854987..9532163 100644
--- a/libcloud/common/openstack_identity.py
+++ b/libcloud/common/openstack_identity.py
@@ -780,8 +780,8 @@ class OpenStackIdentity_1_0_Connection(OpenStackIdentityConnection):
             self.auth_user_info = None
 
             if not self.auth_token:
-                raise MalformedResponseError('Missing X-Auth-Token in \
-                                              response headers')
+                raise MalformedResponseError('Missing X-Auth-Token in'
+                                             ' response headers')
 
         return self
 

http://git-wip-us.apache.org/repos/asf/libcloud/blob/c6439b92/libcloud/loadbalancer/drivers/dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/loadbalancer/drivers/dimensiondata.py b/libcloud/loadbalancer/drivers/dimensiondata.py
index 1273540..46bddea 100644
--- a/libcloud/loadbalancer/drivers/dimensiondata.py
+++ b/libcloud/loadbalancer/drivers/dimensiondata.py
@@ -192,8 +192,8 @@ class DimensionDataLBDriver(Driver):
 
         return self._to_balancers(
             self.connection
-            .request_with_orgId_api_2('networkDomainVip/virtualListener', \
-            params=params).object)
+            .request_with_orgId_api_2('networkDomainVip/virtualListener',
+                                      params=params).object)
 
     def get_balancer(self, balancer_id):
         """
@@ -711,8 +711,8 @@ class DimensionDataLBDriver(Driver):
             params = {"networkDomainId": ex_network_domain_id}
 
         pools = self.connection \
-            .request_with_orgId_api_2('networkDomainVip/pool', \
-            params=params).object
+            .request_with_orgId_api_2('networkDomainVip/pool',
+                                      params=params).object
         return self._to_pools(pools)
 
     def ex_get_pool(self, pool_id):
@@ -869,8 +869,8 @@ class DimensionDataLBDriver(Driver):
             params = {"networkDomainId": ex_network_domain_id}
 
         nodes = self.connection \
-            .request_with_orgId_api_2('networkDomainVip/node', \
-            params=params).object
+            .request_with_orgId_api_2('networkDomainVip/node',
+                                      params=params).object
         return self._to_nodes(nodes)
 
     def ex_get_node(self, node_id):


Mime
View raw message