src/eric7/CondaInterface/Conda.py

branch
eric7
changeset 9576
be9f8e7e42e0
parent 9482
a2bc06a54d9d
child 9584
620d2ac049da
equal deleted inserted replaced
9575:635b6c5a36e1 9576:be9f8e7e42e0
160 if "error" in jsonDict: 160 if "error" in jsonDict:
161 EricMessageBox.critical( 161 EricMessageBox.critical(
162 self.__ui, 162 self.__ui,
163 self.tr("conda remove"), 163 self.tr("conda remove"),
164 self.tr( 164 self.tr(
165 "<p>The conda executable returned an error.</p>" "<p>{0}</p>" 165 "<p>The conda executable returned an error.</p><p>{0}</p>"
166 ).format(jsonDict["message"]), 166 ).format(jsonDict["message"]),
167 ) 167 )
168 return False 168 return False
169 169
170 if jsonDict["success"]: 170 if jsonDict["success"]:
709 else: 709 else:
710 process.terminate() 710 process.terminate()
711 process.waitForFinished(2000) 711 process.waitForFinished(2000)
712 process.kill() 712 process.kill()
713 process.waitForFinished(3000) 713 process.waitForFinished(3000)
714 return False, self.tr("conda did not finish within" " 3 seconds.") 714 return False, self.tr("conda did not finish within 3 seconds.")
715 715
716 return False, self.tr("conda could not be started.") 716 return False, self.tr("conda could not be started.")
717 717
718 def cleanConda(self, cleanAction): 718 def cleanConda(self, cleanAction):
719 """ 719 """

eric ide

mercurial