From d03d50f0d9abcb1783e857e7e46b4aa0d655f2a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20D=C3=B6nmez?= Date: Mon, 21 Nov 2005 13:26:55 +0000 Subject: [PATCH] fakyu --- pisi/pxml/autoxml.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pisi/pxml/autoxml.py b/pisi/pxml/autoxml.py index 523eb986..0c3c5050 100644 --- a/pisi/pxml/autoxml.py +++ b/pisi/pxml/autoxml.py @@ -405,7 +405,7 @@ class autoxml(oo.autosuper, oo.autoprop): if hasattr(self, 'read_hook'): self.read_hook(errs) if errs: - errs.append(_("autoxml.read: File '%s' has errors") % filename) + errs.append(_("autoxml.read: File '%s' has errors") % uri) raise Error(*errs) if not keepDoc: @@ -413,7 +413,7 @@ class autoxml(oo.autosuper, oo.autoprop): errs = self.errors() if errs: - errs.append(_("autoxml.read: File '%s' has errors") % filename) + errs.append(_("autoxml.read: File '%s' has errors") % uri) raise Error(*errs) def write(self, uri, keepDoc = False, tmpDir = '/tmp'): @@ -428,7 +428,7 @@ class autoxml(oo.autosuper, oo.autoprop): if hasattr(self, 'write_hook'): self.write_hook(errs) if errs: - errs.append(_("autoxml.write: File encoding '%s' has errors") % filename) + errs.append(_("autoxml.write: File encoding '%s' has errors") % uri) raise Error(*errs) self.writexml(uri, tmpDir) if not keepDoc: