158 elif "success" in self.__result and \ |
158 elif "success" in self.__result and \ |
159 not self.__result["success"]: |
159 not self.__result["success"]: |
160 self.__logError( |
160 self.__logError( |
161 self.tr("Conda command '{0}' did not return success.") |
161 self.tr("Conda command '{0}' did not return success.") |
162 .format(self.__condaCommand)) |
162 .format(self.__condaCommand)) |
|
163 if "message" in self.__result: |
|
164 self.__logError("\n") |
|
165 self.__logError( |
|
166 self.tr("\nConda Message: {0}").format( |
|
167 self.__result["message"])) |
163 self.__statusOk = False |
168 self.__statusOk = False |
|
169 elif "message" in self.__result: |
|
170 self.__logOutput( |
|
171 self.tr("\nConda Message: {0}").format( |
|
172 self.__result["message"])) |
164 |
173 |
165 def getResult(self): |
174 def getResult(self): |
166 """ |
175 """ |
167 Public method to the result of the command execution. |
176 Public method to the result of the command execution. |
168 |
177 |