summaryrefslogtreecommitdiffstats
path: root/pykolab/xml/__init__.py
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-08-19 23:35:48 -0400
committerThomas Bruederli <bruederli@kolabsys.com>2014-08-19 23:35:48 -0400
commitb87c86a62e3157de9ee17917783f74dc3b0d756c (patch)
treefd9be518ecaf8529c906f2ae4d44450d9943770c /pykolab/xml/__init__.py
parent50ecd9edf92d3d50492f23408e009c900a63d882 (diff)
downloadpykolab-b87c86a62e3157de9ee17917783f74dc3b0d756c.tar.gz
Add wrapper class for libkolabxml todo objects with ical import/export.
ATTENTION: requires python-icalendar version 3.8 or higher! VTodo implemention is incomplete in older versions.
Diffstat (limited to 'pykolab/xml/__init__.py')
-rw-r--r--pykolab/xml/__init__.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/pykolab/xml/__init__.py b/pykolab/xml/__init__.py
index 3e12716..20b7e9f 100644
--- a/pykolab/xml/__init__.py
+++ b/pykolab/xml/__init__.py
@@ -13,6 +13,12 @@ from event import event_from_ical
from event import event_from_string
from event import event_from_message
+from todo import Todo
+from todo import TodoIntegrityError
+from todo import todo_from_ical
+from todo import todo_from_string
+from todo import todo_from_message
+
from utils import to_dt
__all__ = [
@@ -20,9 +26,14 @@ __all__ = [
"Contact",
"ContactReference",
"Event",
+ "Todo",
"RecurrenceRule",
"event_from_ical",
"event_from_string",
+ "event_from_message",
+ "todo_from_ical",
+ "todo_from_string",
+ "todo_from_message",
"to_dt",
]
@@ -30,6 +41,7 @@ errors = [
"EventIntegrityError",
"InvalidEventDateError",
"InvalidAttendeeParticipantStatusError",
+ "TodoIntegrityError",
]
__all__.extend(errors)