PyLint/PyLintExecDialog.py

changeset 16
ea2cd48d7338
parent 15
0fc414663bd9
child 20
8ca799e4b7e4
equal deleted inserted replaced
15:0fc414663bd9 16:ea2cd48d7338
225 the contents pane. 225 the contents pane.
226 """ 226 """
227 self.process.setReadChannel(QProcess.StandardOutput) 227 self.process.setReadChannel(QProcess.StandardOutput)
228 228
229 while self.process.canReadLine(): 229 while self.process.canReadLine():
230 s = self.process.readLine() 230 s = str(self.process.readLine(), self.__ioEncoding, 'replace')
231 self.buf += s + os.linesep 231 self.buf += s + os.linesep
232 if not self.htmlOutput: 232 if not self.htmlOutput:
233 self.contents.insertPlainText(s) 233 self.contents.insertPlainText(s)
234 self.contents.ensureCursorVisible() 234 self.contents.ensureCursorVisible()
235 235

eric ide

mercurial