summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pykolab/xml/attendee.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pykolab/xml/attendee.py b/pykolab/xml/attendee.py
index 4f06cef..98b823d 100644
--- a/pykolab/xml/attendee.py
+++ b/pykolab/xml/attendee.py
@@ -88,12 +88,13 @@ class Attendee(kolabformat.Attendee):
self.setDelegatedFrom(list(set(crefs)))
def delegate_to(self, delegatees):
+ self.set_participant_status("DELEGATED")
+
crefs = []
if not isinstance(delegatees, list):
delegatees = [delegatees]
for delegatee in delegatees:
-
if not isinstance(delegatee, Attendee):
raise ValueError, _("Not a valid attendee")
else: