(error = None)
| 204 | time.sleep(0.5) #give the message a chance to be sent |
| 205 | |
| 206 | def completionCb(error = None): |
| 207 | if os.path.isfile(releasePath): |
| 208 | os.remove(releasePath) |
| 209 | |
| 210 | if error: |
| 211 | self._onCompleted(False) |
| 212 | else: |
| 213 | if relData['force_setup']: |
| 214 | #remove the config file |
| 215 | os.remove(self._manager._settings._configfile) |
| 216 | |
| 217 | self._onCompleted(True) |
| 218 | |
| 219 | try: |
| 220 | # We should only update the cache once. |
nothing calls this directly
no test coverage detected