mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Add line for debugging
This commit is contained in:
parent
0fd07ec9de
commit
318fc53ef6
1 changed files with 4 additions and 1 deletions
|
|
@ -141,7 +141,10 @@ class DavStorage(Storage):
|
||||||
if isinstance(etag, bytes):
|
if isinstance(etag, bytes):
|
||||||
etag = etag.decode(response.encoding)
|
etag = etag.decode(response.encoding)
|
||||||
rv.append((href, Item(obj), etag))
|
rv.append((href, Item(obj), etag))
|
||||||
hrefs_left.remove(href)
|
try:
|
||||||
|
hrefs_left.remove(href)
|
||||||
|
except KeyError as e:
|
||||||
|
raise KeyError('{} doesn\'t exist in {}'.format(href, hrefs_left))
|
||||||
for href in hrefs_left:
|
for href in hrefs_left:
|
||||||
raise exceptions.NotFoundError(href)
|
raise exceptions.NotFoundError(href)
|
||||||
return rv
|
return rv
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue