--- a/eric6/VirtualEnv/VirtualenvExecDialog.py Mon Sep 23 19:10:42 2019 +0200 +++ b/eric6/VirtualEnv/VirtualenvExecDialog.py Mon Sep 23 19:22:12 2019 +0200 @@ -138,8 +138,10 @@ @param exitStatus exit status of the process (QProcess.ExitStatus) @keyparam giveUp flag indicating to not start another attempt (boolean) """ - 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)