styling updates to existing changes.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/6229e9d0 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/6229e9d0 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/6229e9d0 Branch: refs/heads/trunk Commit: 6229e9d014460303a8790cd646ebbfa6788d255d Parents: 4e26ef0 Author: Anthony Shaw <anthony.p.s...@gmail.com> Authored: Fri Oct 30 11:38:25 2015 +1100 Committer: Anthony Shaw <anthony.p.s...@gmail.com> Committed: Fri Oct 30 11:38:25 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/6229e9d0/libcloud/compute/drivers/dimensiondata.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/dimensiondata.py b/libcloud/compute/drivers/dimensiondata.py index 51a21d5..5a86875 100644 --- a/libcloud/compute/drivers/dimensiondata.py +++ b/libcloud/compute/drivers/dimensiondata.py @@ -486,10 +486,10 @@ class DimensionDataNodeDriver(NodeDriver): ET.SubElement(create_node, "description").text = description ET.SubElement(create_node, "location").text = location.id - response = self.connection.request_with_orgId_api_1( + self.connection.request_with_orgId_api_1( 'networkWithLocation', method='POST', - data=ET.tostring(create_node)).object + data=ET.tostring(create_node)) # MCP1 API does not return the ID, but name is unique for location network = list( @@ -582,7 +582,8 @@ class DimensionDataNodeDriver(NodeDriver): or "ADVANCED" :type service_plan: ``str`` - :param description: An additional description of the network domain + :param description: An additional description of + the network domain :type description: ``str`` :return: an instance of `DimensionDataNetworkDomain`