You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2016/03/07 10:46:58 UTC
[7/9] libcloud git commit: Removing prints
Removing prints
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/7f5dd465
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/7f5dd465
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/7f5dd465
Branch: refs/heads/trunk
Commit: 7f5dd4659dcac6349027f141aef352092b08ebe5
Parents: e9b973e
Author: Jeffrey Dunham <je...@gmail.com>
Authored: Mon Feb 1 21:07:07 2016 -0500
Committer: anthony-shaw <an...@gmail.com>
Committed: Mon Mar 7 20:46:16 2016 +1100
----------------------------------------------------------------------
libcloud/compute/drivers/dimensiondata.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/7f5dd465/libcloud/compute/drivers/dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/dimensiondata.py b/libcloud/compute/drivers/dimensiondata.py
index 0194524..d4d129f 100644
--- a/libcloud/compute/drivers/dimensiondata.py
+++ b/libcloud/compute/drivers/dimensiondata.py
@@ -243,13 +243,12 @@ class DimensionDataNodeDriver(NodeDriver):
if isinstance(ex_additional_nics_vlan, list):
for vlan_nic in ex_additional_nics_vlan:
- print("vlan nic {}".format(vlan_nic))
add_nic = ET.SubElement(network_inf_elm, "additionalNic")
ET.SubElement(add_nic, "vlanId").text = vlan_nic
elif ex_additional_nics_vlan is not None:
raise TypeError("ex_additional_nics_vlan"
"must be None or a list")
- print(ET.tostring(server_elm))
+
response = self.connection.request_with_orgId_api_2(
'server/deployServer',
method='POST',
@@ -2051,6 +2050,6 @@ class DimensionDataNodeDriver(NodeDriver):
return obj
else:
raise TypeError(
- "Invalid type for %s looking for basestring or Object Type %s"
+ "Invalid type looking for basestring or Object Type %s"
% obj_type.__name__
)