Remove unused argument

main
Bob Mottram 2024-02-19 13:23:22 +00:00
parent 0d5e43e7fb
commit 8ab49ddcf3
2 changed files with 2 additions and 6 deletions

View File

@ -21713,9 +21713,6 @@ class PubServer(BaseHTTPRequestHandler):
if not propfind_bytes:
self._404(147)
return
depth = 0
if self.headers.get('Depth'):
depth = self.headers['Depth']
propfind_xml = propfind_bytes.decode('utf-8')
response_str = None
if endpoint_type == 'propfind':
@ -21749,7 +21746,7 @@ class PubServer(BaseHTTPRequestHandler):
response_str = \
dav_delete_response(self.server.base_dir,
nickname, self.server.domain,
depth, self.path,
self.path,
self.server.http_prefix,
self.server.debug,
self.server.recent_posts_cache)

View File

@ -1312,8 +1312,7 @@ def dav_report_response(base_dir: str, nickname: str, domain: str,
def dav_delete_response(base_dir: str, nickname: str, domain: str,
depth: int, path: str,
http_prefix: str, debug: bool,
path: str, http_prefix: str, debug: bool,
recent_posts_cache: {}) -> str:
"""Returns the response to caldav DELETE
"""