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 2018/10/31 03:11:33 UTC

[22/51] [abbrv] libcloud git commit: completed ntt tests...starting on rst docs

http://git-wip-us.apache.org/repos/asf/libcloud/blob/c3091843/libcloud/utils/xml.py
----------------------------------------------------------------------
diff --git a/libcloud/utils/xml.py b/libcloud/utils/xml.py
index 7b695d1..3a34d84 100644
--- a/libcloud/utils/xml.py
+++ b/libcloud/utils/xml.py
@@ -25,7 +25,6 @@ def fixxpath(xpath, namespace=None):
     # ElementTree wants namespaces in its xpaths, so here we add them.
     if not namespace:
         return xpath
-    path = '/'.join(['{%s}%s' % (namespace, e) for e in xpath.split('/')])
     return '/'.join(['{%s}%s' % (namespace, e) for e in xpath.split('/')])