src/eric7/CondaInterface/CondaExecDialog.py

branch
eric7
changeset 10065
de4ae767b0e3
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10064:8c3207703dac 10065:de4ae767b0e3
102 ) 102 )
103 self.__finish(1, 0) 103 self.__finish(1, 0)
104 else: 104 else:
105 self.__logOutput(self.tr("Operation started.\n")) 105 self.__logOutput(self.tr("Operation started.\n"))
106 106
107 def __finish(self, exitCode, exitStatus, giveUp=False): 107 @pyqtSlot(int, QProcess.ExitStatus)
108 def __finish(self, exitCode, exitStatus):
108 """ 109 """
109 Private slot called when the process finished. 110 Private slot called when the process finished.
110 111
111 It is called when the process finished or 112 It is called when the process finished or
112 the user pressed the button. 113 the user pressed the button.
113 114
114 @param exitCode exit code of the process 115 @param exitCode exit code of the process
115 @type int 116 @type int
116 @param exitStatus exit status of the process 117 @param exitStatus exit status of the process
117 @type QProcess.ExitStatus 118 @type QProcess.ExitStatus
118 @param giveUp flag indicating to not start another attempt
119 @type bool
120 """ 119 """
121 if ( 120 if (
122 self.__process is not None 121 self.__process is not None
123 and self.__process.state() != QProcess.ProcessState.NotRunning 122 and self.__process.state() != QProcess.ProcessState.NotRunning
124 ): 123 ):

eric ide

mercurial