8242:aa713ac50c0d | 8243:cc717c2ae956 |
---|---|
393 ) | 393 ) |
394 | 394 |
395 # cleanup | 395 # cleanup |
396 for fileName in [infoFileName, appdataFileName]: | 396 for fileName in [infoFileName, appdataFileName]: |
397 if os.path.exists(fileName + ".orig"): | 397 if os.path.exists(fileName + ".orig"): |
398 try: | 398 with contextlib.suppress(OSError): |
399 os.remove(fileName) | 399 os.remove(fileName) |
400 os.rename(fileName + ".orig", fileName) | 400 os.rename(fileName + ".orig", fileName) |
401 except OSError: | |
402 pass |