Work around this bug: https://github.com/python/cpython/pull/14064 #941
@ -668,4 +668,4 @@ def command( # noqa: C901
|
|||||||
main_logger.log("UNCAUGHT ERROR:" + str(e))
|
main_logger.log("UNCAUGHT ERROR:" + str(e))
|
||||||
raise e
|
raise e
|
||||||
finally:
|
finally:
|
||||||
shutil.rmtree(tempdir)
|
shutil.rmtree(tempdir, ignore_errors=True)
|
||||||
|
@ -172,4 +172,4 @@ def command(
|
|||||||
# Send the request
|
# Send the request
|
||||||
laconic.publish(deployment_request)
|
laconic.publish(deployment_request)
|
||||||
finally:
|
finally:
|
||||||
shutil.rmtree(tempdir)
|
shutil.rmtree(tempdir, ignore_errors=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user