Remove bare except

pull/1872/head
Åke Forslund 2018-11-16 12:14:09 +01:00
parent 986e70ec9b
commit a67a60a8eb
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ def curate_cache(directory, min_free_percent=5.0, min_free_disk=50):
try:
os.remove(path)
space_freed += fsize
except:
except Exception:
pass
if space_freed > bytes_needed: