mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-28 19:40:54 +00:00
Fix variable naming to conform with PEP-8
Originally proposed by @ZipFile in #998
This commit is contained in:
parent
d3d11d0ec8
commit
6202257fc2
10 changed files with 48 additions and 49 deletions
|
@ -51,8 +51,8 @@ class ApplicationDeleteMixin:
|
|||
"""Manage DELETE request."""
|
||||
if not self.access(user, path, "w"):
|
||||
return httputils.NOT_ALLOWED
|
||||
with self.Collection.acquire_lock("w", user):
|
||||
item = next(self.Collection.discover(path), None)
|
||||
with self.storage.acquire_lock("w", user):
|
||||
item = next(self.storage.discover(path), None)
|
||||
if not item:
|
||||
return httputils.NOT_FOUND
|
||||
if not self.access(user, path, "w", item):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue