Skip to content

Import #210

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jun 22, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
another intermediate fix
that function can alltogether be removed after the next vdirsyncer
release
  • Loading branch information
geier committed Jun 22, 2015
commit 97a76dfa8aeb8f251d59e7774de0737d84a1746d
6 changes: 5 additions & 1 deletion khal/khalendar/khalendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,11 @@ def force_update(self, event):
# AlreadyExistingError now knows the conflicting events uid
def check(self, item):
"""check if this an event with this item's uid already exists"""
href = self._deterministic_href(item)
try:
# FIXME remove on next vdirsyncer release
href = self._deterministic_href(item)
except AttributeError:
href = self._get_href(item.uid)
if not self.has(href):
return None, None
else:
Expand Down