libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [14/24] libcloud git commit: Further flake8 fixes.
Date Mon, 05 Sep 2016 11:56:54 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/a86b7084
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/a86b7084
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/a86b7084

Branch: refs/heads/trunk
Commit: a86b70846c530294eaf79affbee42cb50783d11a
Parents: 208cee2
Author: Aimon Bustardo <aimon.bustardo@dimensiondata.com>
Authored: Fri Aug 26 19:55:29 2016 -0500
Committer: Aimon Bustardo <aimon.bustardo@dimensiondata.com>
Committed: Sun Aug 28 13:54:55 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/a86b7084/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/a86b7084/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