Fixed a bug causing a traceback because of a forgotten conversion from QByteArray to str. release-5.1.2

Sun, 03 Feb 2013 16:56:21 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 03 Feb 2013 16:56:21 +0100
changeset 16
ea2cd48d7338
parent 15
0fc414663bd9
child 17
be64e1afc5c2

Fixed a bug causing a traceback because of a forgotten conversion from QByteArray to str.

ChangeLog file | annotate | diff | comparison | revisions
PluginPyLint.py file | annotate | diff | comparison | revisions
PluginPyLint.zip file | annotate | diff | comparison | revisions
PyLint/PyLintExecDialog.py file | annotate | diff | comparison | revisions
--- a/ChangeLog	Wed Jan 02 10:53:27 2013 +0100
+++ b/ChangeLog	Sun Feb 03 16:56:21 2013 +0100
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 5.1.2:
+- bug fixes
+
 Version 5.1.1:
 - bug fixes
 - updated Spanish translations
--- a/PluginPyLint.py	Wed Jan 02 10:53:27 2013 +0100
+++ b/PluginPyLint.py	Sun Feb 03 16:56:21 2013 +0100
@@ -28,7 +28,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "5.1.1"
+version = "5.1.2"
 className = "PyLintPlugin"
 packageName = "PyLint"
 shortDescription = "Show the PyLint dialogs."
Binary file PluginPyLint.zip has changed
--- a/PyLint/PyLintExecDialog.py	Wed Jan 02 10:53:27 2013 +0100
+++ b/PyLint/PyLintExecDialog.py	Sun Feb 03 16:56:21 2013 +0100
@@ -227,7 +227,7 @@
         self.process.setReadChannel(QProcess.StandardOutput)
         
         while self.process.canReadLine():
-            s = self.process.readLine()
+            s = str(self.process.readLine(), self.__ioEncoding, 'replace')
             self.buf += s + os.linesep
             if not self.htmlOutput:
                 self.contents.insertPlainText(s)

eric ide

mercurial