From e74d0ed963c5dc38e054022bca2f837ad475b40b Mon Sep 17 00:00:00 2001 From: Julien Iguchi-Cartigny Date: Sun, 6 Jul 2014 17:29:22 +0200 Subject: [PATCH] Revert "fixing others join(s) as function parameter" This reverts commit 71629d8712dd0b7fdc5637a3b039def65479e23e. --- wstools/Utility.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wstools/Utility.py b/wstools/Utility.py index 784d68a..a31b56a 100644 --- a/wstools/Utility.py +++ b/wstools/Utility.py @@ -462,7 +462,7 @@ class DOM: return default raise KeyError(name) - def getElementById(self, node, id, default=''.join): + def getElementById(self, node, id, default=join): """Return the first child of node matching an id reference.""" attrget = self.getAttr ELEMENT_NODE = node.ELEMENT_NODE @@ -516,7 +516,7 @@ class DOM: return False return node.hasAttributeNS(nsuri, name) - def getAttr(self, node, name, nsuri=None, default=''.join): + def getAttr(self, node, name, nsuri=None, default=join): """Return the value of the attribute named 'name' with the optional nsuri, or the default if one is specified. If nsuri is not specified, an attribute that matches the