VirtualEnv/VirtualenvExecDialog.py

branch
conda
changeset 6677
6299d69a218a
parent 6676
536ad4fa35aa
child 6678
5f1de9e59227
equal deleted inserted replaced
6676:536ad4fa35aa 6677:6299d69a218a
128 @param button button that was clicked (QAbstractButton) 128 @param button button that was clicked (QAbstractButton)
129 """ 129 """
130 if button == self.buttonBox.button(QDialogButtonBox.Close): 130 if button == self.buttonBox.button(QDialogButtonBox.Close):
131 self.accept() 131 self.accept()
132 elif button == self.buttonBox.button(QDialogButtonBox.Cancel): 132 elif button == self.buttonBox.button(QDialogButtonBox.Cancel):
133 self.__finish() 133 self.__finish(0, 0, )
134 134
135 def __finish(self, exitCode, exitStatus, giveUp=False): 135 def __finish(self, exitCode, exitStatus, giveUp=False):
136 """ 136 """
137 Private slot called when the process finished. 137 Private slot called when the process finished.
138 138
234 234
235 def __logOutput(self, s): 235 def __logOutput(self, s):
236 """ 236 """
237 Private method to log some output. 237 Private method to log some output.
238 238
239 @param s output sstring to log (string) 239 @param s output string to log (string)
240 """ 240 """
241 self.contents.insertPlainText(s) 241 self.contents.insertPlainText(s)
242 self.contents.ensureCursorVisible() 242 self.contents.ensureCursorVisible()
243 243
244 def __logError(self, s): 244 def __logError(self, s):

eric ide

mercurial