summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
author--global <--global>2014-02-19 11:55:58 -0500
committer--global <--global>2014-02-19 11:55:58 -0500
commita22f4b8ef619b4dd8ea85c4248198ee8c4eae7ce (patch)
treea4f7d9ebb21e1b88ea0b16123e38d1d0933186ea /pykolab
parent68c82ea52db08cde30218665d03a90093916f1b5 (diff)
parent8a271d60bab1e4d7aece7c42805484dc10a6bf41 (diff)
downloadpykolab-a22f4b8ef619b4dd8ea85c4248198ee8c4eae7ce.tar.gz
Merge branch 'master' of ssh://git.kolab.org/git/pykolab
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/xml/event.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/pykolab/xml/event.py b/pykolab/xml/event.py
index f2a51e6..508dabb 100644
--- a/pykolab/xml/event.py
+++ b/pykolab/xml/event.py
@@ -686,7 +686,12 @@ class Event(object):
else:
rsvp = None
- self.add_attendee(address, name=name, rsvp=rsvp, role=role, participant_status=partstat)
+ if params.has_key('CUTYPE'):
+ cutype = params['CUTYPE']
+ else:
+ cutype = kolabformat.CutypeIndividual
+
+ self.add_attendee(address, name=name, rsvp=rsvp, role=role, participant_status=partstat, cutype=cutype)
def set_ical_dtend(self, dtend):
self.set_end(dtend)