From 289af8c844b22d1e6643b84f07da1a59ff50697c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Sat, 5 Nov 2005 21:40:43 +0000 Subject: [PATCH] * typo --- pisi/xmlfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/xmlfile.py b/pisi/xmlfile.py index 2f7ca0c2..a1c8c109 100644 --- a/pisi/xmlfile.py +++ b/pisi/xmlfile.py @@ -688,7 +688,7 @@ class autoxml(oo.autosuper, oo.autoprop): if len(nodes)==0 and req==mandatory: errs.append(where + _('Mandatory list empty')) ix = 1 - for node in range(nodes): + for node in nodes: dummy = node.ownerDocument.createElement("Dummy") dummy.appendChild(node) l.append(decode_item(dummy, errs, where + unicode("[%s]" % ix)))