mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Merge branch 'outlook_fixes'
This commit is contained in:
commit
fcf0f003aa
1 changed files with 6 additions and 2 deletions
|
|
@ -335,8 +335,12 @@ class DavStorage(Storage):
|
||||||
try:
|
try:
|
||||||
hrefs_left.remove(href)
|
hrefs_left.remove(href)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
raise KeyError('{} doesn\'t exist in {}'
|
if href in hrefs:
|
||||||
.format(href, hrefs_left))
|
dav_logger.warning('Server sent item twice: {}'
|
||||||
|
.format(href))
|
||||||
|
else:
|
||||||
|
dav_logger.warning('Server sent unsolicited item: {}'
|
||||||
|
.format(href))
|
||||||
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