From c95c91880ae0420d594173c584202de014bc5ac9 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 9 Dec 2010 18:26:02 +0000 Subject: Guard against rogue tuples. --- Lib/xml/etree/ElementTree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/xml/etree/ElementTree.py b/Lib/xml/etree/ElementTree.py index ef94e14..53aa9e7 100644 --- a/Lib/xml/etree/ElementTree.py +++ b/Lib/xml/etree/ElementTree.py @@ -585,7 +585,7 @@ class QName: def __str__(self): return self.text def __repr__(self): - return '' % self.text + return '' % (self.text,) def __hash__(self): return hash(self.text) def __le__(self, other): -- cgit v0.12