From ae5a5044fb1b2c92c99bfa7cba9221d376a83a4d Mon Sep 17 00:00:00 2001 From: Julien Iguchi-Cartigny Date: Sun, 6 Jul 2014 16:40:33 +0200 Subject: [PATCH] fixing join as function parameter --- wstools/Utility.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wstools/Utility.py b/wstools/Utility.py index 89fd825..a31b56a 100644 --- a/wstools/Utility.py +++ b/wstools/Utility.py @@ -448,7 +448,7 @@ class DOM: return node.localName == name and \ (nsuri is None or self.nsUriMatch(node.namespaceURI, nsuri)) - def getElement(self, node, name, nsuri=None, default=join): + def getElement(self, node, name, nsuri=None, default=''.join): """Return the first child of node with a matching name and namespace uri, or the default if one is provided.""" nsmatch = self.nsUriMatch