mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-10 18:40:53 +00:00
Flake8: Fix E722
This commit is contained in:
parent
2b1d3ce3d2
commit
dca25b9e90
2 changed files with 2 additions and 2 deletions
|
@ -779,7 +779,7 @@ class Collection(BaseCollection):
|
|||
(path, e)) from e
|
||||
tmp.close()
|
||||
os.replace(tmp.name, path)
|
||||
except:
|
||||
except BaseException:
|
||||
tmp.close()
|
||||
os.remove(tmp.name)
|
||||
raise
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue