128 else: |
128 else: |
129 process.terminate() |
129 process.terminate() |
130 process.waitForFinished(2000) |
130 process.waitForFinished(2000) |
131 process.kill() |
131 process.kill() |
132 process.waitForFinished(3000) |
132 process.waitForFinished(3000) |
133 return False, self.tr("python did not finish within" " 30 seconds.") |
133 return False, self.tr("python did not finish within 30 seconds.") |
134 |
134 |
135 return False, self.tr("python could not be started.") |
135 return False, self.tr("python could not be started.") |
136 |
136 |
137 def getUserConfig(self): |
137 def getUserConfig(self): |
138 """ |
138 """ |