summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-02-21 01:48:56 -0500
committerThomas Bruederli <bruederli@kolabsys.com>2014-02-21 01:48:56 -0500
commit5c7c65cbc038f454b52b8934fdadc76bb5fd9334 (patch)
tree1ed61008a87efe016d2d8a0900fb052247b6b352 /pykolab
parente5eb9d3a14aff55efc9921a575813cd5cbae4a35 (diff)
downloadpykolab-5c7c65cbc038f454b52b8934fdadc76bb5fd9334.tar.gz
Add setter for RSVP status
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/xml/attendee.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pykolab/xml/attendee.py b/pykolab/xml/attendee.py
index ffe80f7..68e9d9b 100644
--- a/pykolab/xml/attendee.py
+++ b/pykolab/xml/attendee.py
@@ -167,6 +167,9 @@ class Attendee(kolabformat.Attendee):
else:
raise InvalidAttendeeRoleError, _("Invalid role %r") % (role)
+ def set_rsvp(self, rsvp):
+ self.setRSVP(rsvp)
+
def __str__(self):
return self.email