fixed line wrap for listenerIpAddress

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

Branch: refs/heads/trunk
Commit: 24017e4cded6d4450921dff571b8d840584ce74e
Parents: d93b655
Author: Munkiat <kok.mun.k...@gmail.com>
Authored: Mon Jan 4 15:53:13 2016 +0800
Committer: Munkiat <kok.mun.k...@gmail.com>
Committed: Mon Jan 4 15:53:13 2016 +0800

----------------------------------------------------------------------
 libcloud/loadbalancer/drivers/dimensiondata.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/24017e4c/libcloud/loadbalancer/drivers/dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/loadbalancer/drivers/dimensiondata.py 
b/libcloud/loadbalancer/drivers/dimensiondata.py
index 7c26ffc..ba08589 100644
--- a/libcloud/loadbalancer/drivers/dimensiondata.py
+++ b/libcloud/loadbalancer/drivers/dimensiondata.py
@@ -635,7 +635,7 @@ class DimensionDataLBDriver(Driver):
             .text = protocol
         if listenerIpAddress is not None:
             ET.SubElement(create_node_elm, "listenerIpAddress").text = \
-                .text = str(listenerIpAddress)
+                str(listenerIpAddress)
         ET.SubElement(create_node_elm, "port").text = str(port)
         ET.SubElement(create_node_elm, "enabled").text = 'true'
         ET.SubElement(create_node_elm, "connectionLimit") \

Reply via email to