305 Public slot to restart the built in languages. |
305 Public slot to restart the built in languages. |
306 """ |
306 """ |
307 interpreter = self.__getPythonInterpreter() |
307 interpreter = self.__getPythonInterpreter() |
308 |
308 |
309 # Tweak the processes list to reflect the changed interpreter |
309 # Tweak the processes list to reflect the changed interpreter |
310 proc, inter = self.processes.pop("Python3", [None, None]) |
310 proc, _inter = self.processes.pop("Python3", [None, None]) |
311 self.processes["Python3"] = proc, interpreter |
311 self.processes["Python3"] = proc, interpreter |
312 |
312 |
313 self.restartService("Python3") |
313 self.restartService("Python3") |
314 |
314 |
315 def restartService(self, language, forceKill=False): |
315 def restartService(self, language, forceKill=False): |