diff --git a/pisi/pxml/xmlfilecdom.py b/pisi/pxml/xmlfilecdom.py index 2f65dbbb..a0ea49e7 100644 --- a/pisi/pxml/xmlfilecdom.py +++ b/pisi/pxml/xmlfilecdom.py @@ -44,7 +44,6 @@ XML_NS = unicode(XML_NAMESPACE) import pisi class Error(pisi.Error): - "named this way because the class if mostly used with an import *" pass class XmlFile(object): @@ -71,7 +70,7 @@ class XmlFile(object): self.doc = ParsePath(path) return self.doc.documentElement except Ft.FtException, e: - raise Error(_("File '%s' has invalid XML:") % (path, str(e)) ) + raise Error(_("File '%s' has invalid XML: %s") % (path, str(e)) ) def writexml(self, path): f = file(path, 'w')