Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
Closes #961
  • Loading branch information
samuelchong authored and tonybaloney committed Dec 27, 2016
1 parent a0ad69e commit f66ad0b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions libcloud/compute/drivers/dimensiondata.py
Original file line number Diff line number Diff line change
Expand Up @@ -3944,9 +3944,10 @@ def ex_create_node_uncustomized(self,
"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

Expand All @@ -3966,7 +3967,8 @@ def ex_create_node_uncustomized(self,
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):
Expand Down

0 comments on commit f66ad0b

Please sign in to comment.