eric6/CondaInterface/CondaNewEnvironmentDataDialog.py

changeset 8257
28146736bbfc
parent 8218
7c09585bd960
equal deleted inserted replaced
8256:26a8b92aeabd 8257:28146736bbfc
97 97
98 @return tuple with the logical name of the new environment, the conda 98 @return tuple with the logical name of the new environment, the conda
99 name and the requirements file name 99 name and the requirements file name
100 @rtype tuple of (str, str, str) 100 @rtype tuple of (str, str, str)
101 """ 101 """
102 if self.__requirementsMode: 102 requirementsFile = (
103 requirementsFile = self.requirementsFilePicker.text() 103 self.requirementsFilePicker.text()
104 else: 104 if self.__requirementsMode else
105 requirementsFile = "" 105 ""
106 )
106 107
107 return ( 108 return (
108 self.nameEdit.text(), 109 self.nameEdit.text(),
109 self.condaNameEdit.text(), 110 self.condaNameEdit.text(),
110 requirementsFile 111 requirementsFile

eric ide

mercurial