src/eric7/VirtualEnv/VirtualenvUpgradeExecDialog.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10439
21c28b0f9e41
child 11006
a671918232f3
equal deleted inserted replaced
10691:d1a603a70f83 10692:9becf9ca115c
107 self.accept() 107 self.accept()
108 elif button == self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel): 108 elif button == self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel):
109 self.__finish(0, 0, giveUp=True) 109 self.__finish(0, 0, giveUp=True)
110 110
111 @pyqtSlot(int, QProcess.ExitStatus) 111 @pyqtSlot(int, QProcess.ExitStatus)
112 def __finish(self, exitCode, exitStatus, giveUp=False): 112 def __finish(self, exitCode, _exitStatus, giveUp=False):
113 """ 113 """
114 Private slot called when the process finished. 114 Private slot called when the process finished.
115 115
116 It is called when the process finished or 116 It is called when the process finished or
117 the user pressed the button. 117 the user pressed the button.
118 118
119 @param exitCode exit code of the process 119 @param exitCode exit code of the process
120 @type int 120 @type int
121 @param exitStatus exit status of the process 121 @param _exitStatus exit status of the process (unused)
122 @type QProcess.ExitStatus 122 @type QProcess.ExitStatus
123 @param giveUp flag indicating to not start another attempt 123 @param giveUp flag indicating to not start another attempt
124 @type bool 124 @type bool
125 """ 125 """
126 if ( 126 if (

eric ide

mercurial