diff -r 3ead033becb8 -r c4b5f3393d63 eric6/Plugins/VcsPlugins/vcsSubversion/SvnRepoBrowserDialog.py --- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnRepoBrowserDialog.py Tue Sep 24 18:42:25 2019 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnRepoBrowserDialog.py Tue Sep 24 18:45:33 2019 +0200 @@ -11,8 +11,10 @@ import os from PyQt5.QtGui import QCursor -from PyQt5.QtWidgets import QHeaderView, QLineEdit, QDialog, QApplication, \ - QDialogButtonBox, QTreeWidgetItem +from PyQt5.QtWidgets import ( + QHeaderView, QLineEdit, QDialog, QApplication, QDialogButtonBox, + QTreeWidgetItem +) from PyQt5.QtCore import QTimer, QProcess, QRegExp, Qt, pyqtSlot from E5Gui import E5MessageBox @@ -79,8 +81,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) @@ -179,8 +183,10 @@ for line in output.splitlines(): line = line.strip() if line.startswith('<root>'): - repoRoot = line.replace('<root>', '')\ + repoRoot = ( + line.replace('<root>', '') .replace('</root>', '') + ) break else: error = str(process.readAllStandardError(), @@ -363,8 +369,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)