This commit is contained in:
piotrhm
2020-03-20 16:49:00 +01:00
committed by Bruno Oliveira
parent bde0ebcda9
commit f0e47c1ed6

View File

@@ -333,7 +333,7 @@ def make_numbered_dir_with_cleanup(
try:
p = make_numbered_dir(root, prefix)
lock_path = create_cleanup_lock(p)
register_cleanup_lock_removal(lock_path)
register_cleanup_lock_removal(lock_path)
except Exception as exc:
e = exc
else: