mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Remove leftover assertion
This commit is contained in:
parent
24b492c610
commit
5ebc9eaecb
1 changed files with 0 additions and 2 deletions
|
|
@ -352,7 +352,6 @@ class DavStorage(Storage):
|
|||
if etag is None:
|
||||
headers['If-None-Match'] = '*'
|
||||
else:
|
||||
assert etag[0] == etag[-1] == '"'
|
||||
headers['If-Match'] = etag
|
||||
|
||||
response = self.session.request(
|
||||
|
|
@ -381,7 +380,6 @@ class DavStorage(Storage):
|
|||
def delete(self, href, etag):
|
||||
href = self._normalize_href(href)
|
||||
headers = self.session.get_default_headers()
|
||||
assert etag[0] == etag[-1] == '"'
|
||||
headers.update({
|
||||
'If-Match': etag
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue