libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [08/11] libcloud git commit: fix lint error Closes #961
Date Tue, 27 Dec 2016 08:26:50 GMT
fix lint error
Closes #961


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

Branch: refs/heads/trunk
Commit: f66ad0bea2e25a707f3a0cdfcb8a4fbeaaf5bf27
Parents: a0ad69e
Author: Samuel Chong <samuelchong1@gmail.com>
Authored: Thu Dec 22 17:10:57 2016 +1100
Committer: Anthony Shaw <anthonyshaw@apache.org>
Committed: Tue Dec 27 19:22:10 2016 +1100

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


http://git-wip-us.apache.org/repos/asf/libcloud/blob/f66ad0be/libcloud/compute/drivers/dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/dimensiondata.py b/libcloud/compute/drivers/dimensiondata.py
index 4619b1b..c47eedd 100644
--- a/libcloud/compute/drivers/dimensiondata.py
+++ b/libcloud/compute/drivers/dimensiondata.py
@@ -3944,9 +3944,10 @@ class DimensionDataNodeDriver(NodeDriver):
                   "to True")
 
         server_uncustomized_elm = ET.Element('deployUncustomizedServer',
-                                {'xmlns': TYPES_URN})
+                                             {'xmlns': TYPES_URN})
         ET.SubElement(server_uncustomized_elm, "name").text = name
-        ET.SubElement(server_uncustomized_elm, "description").text = ex_description
+        ET.SubElement(server_uncustomized_elm, "description").text = \
+            ex_description
         image_id = self._image_to_image_id(image)
         ET.SubElement(server_uncustomized_elm, "imageId").text = image_id
 
@@ -3966,7 +3967,8 @@ class DimensionDataNodeDriver(NodeDriver):
                     str(ex_cpu_specification.cores_per_socket))
 
         if ex_memory_gb is not None:
-            ET.SubElement(server_uncustomized_elm, "memoryGb").text = str(ex_memory_gb)
+            ET.SubElement(server_uncustomized_elm, "memoryGb").text = \
+                str(ex_memory_gb)
 
         if (ex_primary_nic_private_ipv4 is None and
                 ex_primary_nic_vlan is None):


Mime
View raw message