src/eric7/Plugins/VcsPlugins/vcsGit/GitBlameDialog.py

branch
eric7
changeset 9230
70f269d529e4
parent 9221
bf71ee032bb4
child 9413
80c06d472826
equal deleted inserted replaced
9229:326810448a9c 9230:70f269d529e4
210 while self.process.canReadLine(): 210 while self.process.canReadLine():
211 line = str( 211 line = str(
212 self.process.readLine(), Preferences.getSystem("IOEncoding"), "replace" 212 self.process.readLine(), Preferences.getSystem("IOEncoding"), "replace"
213 ).strip() 213 ).strip()
214 match = self.__blameRe.match(line) 214 match = self.__blameRe.match(line)
215 commitId, author, date, time, lineno, text = match.groups() 215 if match is not None:
216 self.__generateItem(commitId, author, date, time, lineno, text) 216 commitId, author, date, time, lineno, text = match.groups()
217 self.__generateItem(commitId, author, date, time, lineno, text)
217 218
218 def __readStderr(self): 219 def __readStderr(self):
219 """ 220 """
220 Private slot to handle the readyReadStderr signal. 221 Private slot to handle the readyReadStderr signal.
221 222

eric ide

mercurial