libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [1/3] libcloud git commit: linting patches
Date Mon, 21 Dec 2015 23:05:02 GMT
Repository: libcloud
Updated Branches:
  refs/heads/trunk f856da991 -> e943be82d


linting patches


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

Branch: refs/heads/trunk
Commit: 97c88185a1b7ea94d2bb7eb4f5d4917831df81db
Parents: 6add1ee
Author: anthony-shaw <anthony.p.shaw@gmail.com>
Authored: Mon Dec 21 20:35:45 2015 +1100
Committer: anthony-shaw <anthony.p.shaw@gmail.com>
Committed: Tue Dec 22 10:04:28 2015 +1100

----------------------------------------------------------------------
 libcloud/compute/drivers/dimensiondata.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/97c88185/libcloud/compute/drivers/dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/dimensiondata.py b/libcloud/compute/drivers/dimensiondata.py
index fa6ee4e..cbe1530 100644
--- a/libcloud/compute/drivers/dimensiondata.py
+++ b/libcloud/compute/drivers/dimensiondata.py
@@ -108,7 +108,8 @@ class DimensionDataNodeDriver(NodeDriver):
 
         :keyword    ex_network_domain:  Network Domain to create the node
                                         (required unless using network)
-        :type       ex_network_domain: :class:`DimensionDataNetworkDomain` or ``str``
+        :type       ex_network_domain: :class:`DimensionDataNetworkDomain`
+                                        or ``str``
 
         :keyword    ex_vlan:  VLAN to create the node within
                                         (required unless using network)
@@ -137,9 +138,9 @@ class DimensionDataNodeDriver(NodeDriver):
             password = auth_obj.password
 
         if not isinstance(ex_network, DimensionDataNetwork) \
-        and not isinstance(ex_network, str):
+            and not isinstance(ex_network, str):
             if not isinstance(ex_network_domain, DimensionDataNetworkDomain) \
-            and not isinstance(ex_network_domain, str):
+                and not isinstance(ex_network_domain, str):
                 raise ValueError('ex_network must be of DimensionDataNetwork'
                                  ' or str '
                                  'type or ex_network_domain must be of '


Mime
View raw message