--- a/eric6/E5Gui/E5ProcessDialog.py Sat Sep 21 13:37:58 2019 +0200 +++ b/eric6/E5Gui/E5ProcessDialog.py Sat Sep 21 15:37:43 2019 +0200 @@ -10,8 +10,9 @@ import os -from PyQt5.QtCore import QProcess, QTimer, pyqtSlot, Qt, QCoreApplication, \ - QProcessEnvironment +from PyQt5.QtCore import ( + QProcess, QTimer, pyqtSlot, Qt, QCoreApplication, QProcessEnvironment +) from PyQt5.QtWidgets import QDialog, QDialogButtonBox, QLineEdit from E5Gui import E5MessageBox @@ -62,8 +63,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)