libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [22/51] [abbrv] libcloud git commit: completed ntt tests...starting on rst docs
Date Wed, 31 Oct 2018 03:11:33 GMT
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('/')])
 
 


Mime
View raw message