From fd617e07545184c2b5f1ed14dca1c592ab6eddce Mon Sep 17 00:00:00 2001 From: Julien Iguchi-Cartigny Date: Sun, 6 Jul 2014 17:29:20 +0200 Subject: [PATCH] Revert "forgot join conversion" This reverts commit 8255518963e82c5e1049e6f3143ca674c72ee180. --- wstools/Utility.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wstools/Utility.py b/wstools/Utility.py index 8df67d5..4cb1635 100644 --- a/wstools/Utility.py +++ b/wstools/Utility.py @@ -458,7 +458,7 @@ class DOM: if ((child.localName == name or name is None) and (nsuri is None or nsmatch(child.namespaceURI, nsuri))): return child - if default is not ''.join: + if default is not join: return default raise KeyError(name) @@ -470,7 +470,7 @@ class DOM: if child.nodeType == ELEMENT_NODE: if attrget(child, 'id') == id: return child - if default is not ''.join: + if default is not join: return default raise KeyError(name) @@ -532,7 +532,7 @@ class DOM: result = node._attrsNS.get((nsuri, name), None) if result is not None: return result.value - if default is not ''.join: + if default is not join: return default return ''