--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgSummaryDialog.py Sat Sep 21 20:30:56 2019 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgSummaryDialog.py Sat Sep 21 22:03:03 2019 +0200 @@ -57,8 +57,10 @@ @param e close event (QCloseEvent) """ - 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) @@ -120,8 +122,10 @@ Private slot called when the process finished or the user pressed the button. """ - 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) @@ -410,8 +414,8 @@ "%n branch head(s)", "", infoDict["update"][2]) uinfo = self.tr( "{0}<br/>{1}<br/>Merge required", - "0 is changesets, 1 is branch heads")\ - .format(uinfo1, uinfo2) + "0 is changesets, 1 is branch heads" + ).format(uinfo1, uinfo2) else: uinfo = self.tr("unknown status") info.append(self.tr(