[Calypso-commits] [calypso] 01/01: Check for VTODO when classifying an item ical or vcard.
Jelmer Vernooij
jelmer at moszumanska.debian.org
Mon May 16 16:12:09 UTC 2016
This is an automated email from the git hooks/post-receive script.
jelmer pushed a commit to branch master
in repository calypso.
commit 10081ba5e9c41517bd0fbb82cc9fe25e48042351
Author: Jelmer Vernooij <jelmer at jelmer.uk>
Date: Sun May 15 22:30:57 2016 +0000
Check for VTODO when classifying an item ical or vcard.
---
calypso/webdav.py | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/calypso/webdav.py b/calypso/webdav.py
index 0299c7a..d74ecd5 100644
--- a/calypso/webdav.py
+++ b/calypso/webdav.py
@@ -115,6 +115,8 @@ class Item(object):
return True
if self.object.name == 'VEVENT':
return False
+ if self.object.name == 'VTODO':
+ return False
if self.object.name == 'VCALENDAR':
return False
for child in self.object.getChildren():
@@ -122,6 +124,8 @@ class Item(object):
return True
if child.name == 'VEVENT':
return False
+ if child.name == 'VTODO':
+ return False
return False
@property
@@ -131,6 +135,8 @@ class Item(object):
return False
if self.object.name == 'VEVENT':
return True
+ if self.object.name == 'VTODO':
+ return True
if self.object.name == 'VCALENDAR':
return True
for child in self.object.getChildren():
@@ -138,6 +144,8 @@ class Item(object):
return False
if child.name == 'VEVENT':
return True
+ if child.name == 'VTODO':
+ return True
return False
@property
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/calypso/calypso.git
More information about the Calypso-commits
mailing list