--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgDiffGenerator.py Sat Sep 21 20:30:56 2019 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgDiffGenerator.py Sat Sep 21 22:03:03 2019 +0200 @@ -49,8 +49,10 @@ if self.__hgClient.isExecuting(): self.__hgClient.cancel() else: - if self.process is not None and \ - self.process.state() != QProcess.NotRunning: + if ( + self.process is not None and + self.process.state() != QProcess.NotRunning + ): self.process.terminate() QTimer.singleShot(2000, self.process.kill) self.process.waitForFinished(3000) @@ -209,8 +211,10 @@ @param line output line to be processed (string) """ - if line.startswith("--- ") or \ - line.startswith("+++ "): + if ( + line.startswith("--- ") or + line.startswith("+++ ") + ): self.__processFileLine(line) self.__output.append(line)