mirror of https://gitlab.com/bashrc2/epicyon
Remove unused argument
parent
0d5e43e7fb
commit
8ab49ddcf3
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue