From fb9062a341016ac70b124ff455be000fd58af8c0 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Fri, 6 Apr 2007 17:17:25 +0000 Subject: [PATCH] Minor fix for qdom debug output. git-svn-id: file:///home/talex/Backups/sf.net/Subversion/zero-install/trunk/0launch@1648 9f8c893c-44ee-0310-b757-c8ca8341c71e --- zeroinstall/injector/qdom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zeroinstall/injector/qdom.py b/zeroinstall/injector/qdom.py index 9a7c651..540550f 100644 --- a/zeroinstall/injector/qdom.py +++ b/zeroinstall/injector/qdom.py @@ -22,7 +22,7 @@ class Element(object): attrs = [n + '=' + self.attrs[n] for n in self.attrs] start = '<{%s}%s %s' % (self.uri, self.name, ' '.join(attrs)) if self.childNodes: - return start + '>\n'.join(map(str, self.childNodes)) + ('' % (self.name)) + return start + '>' + '\n'.join(map(str, self.childNodes)) + ('' % (self.name)) elif self.content: return start + '>' + self.content + ('' % (self.name)) else: -- 2.11.4.GIT