--- a/E5XML/XMLStreamReaderBase.py Mon Oct 14 20:08:19 2013 +0200 +++ b/E5XML/XMLStreamReaderBase.py Tue Oct 15 18:29:32 2013 +0200 @@ -48,7 +48,8 @@ Public method to show an error message. """ if self.hasError(): - msg = QCoreApplication.translate("XMLStreamReaderBase", + msg = QCoreApplication.translate( + "XMLStreamReaderBase", "<p>XML parse error in file <b>{0}</b>, line {1}," " column {2}</p><p>Error: {3}</p>").format( self.device().fileName(), @@ -66,8 +67,8 @@ @param tag name of the unexpected tag (string) """ - self.raiseError(QCoreApplication.translate("XMLStreamReaderBase", - "Unexpected start tag '{0}'.".format(tag))) + self.raiseError(QCoreApplication.translate( + "XMLStreamReaderBase", "Unexpected start tag '{0}'.".format(tag))) def raiseUnsupportedFormatVersion(self, version): """ @@ -75,7 +76,8 @@ @param version unsupported version (string) """ - self.raiseError(QCoreApplication.translate("XMLStreamReaderBase", + self.raiseError(QCoreApplication.translate( + "XMLStreamReaderBase", "File format version '{0}' is not supported.").format(version)) def raiseBadValue(self, value): @@ -84,8 +86,8 @@ @param value bad value (string) """ - self.raiseError(QCoreApplication.translate("XMLStreamReaderBase", - "Bad value: {0}").format(value)) + self.raiseError(QCoreApplication.translate( + "XMLStreamReaderBase", "Bad value: {0}").format(value)) def readXML(self): """