--- a/eric6/Plugins/VcsPlugins/vcsGit/GitDiffGenerator.py Sat Sep 21 20:30:56 2019 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsGit/GitDiffGenerator.py Sat Sep 21 22:03:03 2019 +0200 @@ -54,8 +54,10 @@ Public slot to stop the diff processes. """ for process in [self.process, self.process2]: - if process is not None and \ - process.state() != QProcess.NotRunning: + if ( + process is not None and + process.state() != QProcess.NotRunning + ): process.terminate() QTimer.singleShot(2000, process.kill) process.waitForFinished(3000) @@ -158,8 +160,10 @@ @param exitCode exit code of the process (integer) @param exitStatus exit status of the process (QProcess.ExitStatus) """ - if self.process.state() == QProcess.NotRunning and \ - self.process2.state() == QProcess.NotRunning: + if ( + self.process.state() == QProcess.NotRunning and + self.process2.state() == QProcess.NotRunning + ): self.finished.emit() def getResult(self):