Plugins/VcsPlugins/vcsSubversion/SvnPropListDialog.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3037
a417a0670a36
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
191 """ 191 """
192 self.process.setReadChannel(QProcess.StandardOutput) 192 self.process.setReadChannel(QProcess.StandardOutput)
193 193
194 while self.process.canReadLine(): 194 while self.process.canReadLine():
195 s = str(self.process.readLine(), 195 s = str(self.process.readLine(),
196 Preferences.getSystem("IOEncoding"), 196 Preferences.getSystem("IOEncoding"),
197 'replace') 197 'replace')
198 if self.rx_path.exactMatch(s): 198 if self.rx_path.exactMatch(s):
199 if self.lastProp: 199 if self.lastProp:
200 self.__generateItem( 200 self.__generateItem(
201 self.lastPath, self.lastProp, self.propBuffer) 201 self.lastPath, self.lastProp, self.propBuffer)
202 self.lastPath = self.rx_path.cap(1) 202 self.lastPath = self.rx_path.cap(1)
220 error pane. 220 error pane.
221 """ 221 """
222 if self.process is not None: 222 if self.process is not None:
223 self.errorGroup.show() 223 self.errorGroup.show()
224 s = str(self.process.readAllStandardError(), 224 s = str(self.process.readAllStandardError(),
225 Preferences.getSystem("IOEncoding"), 225 Preferences.getSystem("IOEncoding"),
226 'replace') 226 'replace')
227 self.errors.insertPlainText(s) 227 self.errors.insertPlainText(s)
228 self.errors.ensureCursorVisible() 228 self.errors.ensureCursorVisible()

eric ide

mercurial