diff options
Diffstat (limited to 'pykolab/xml/event.py')
-rw-r--r-- | pykolab/xml/event.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/xml/event.py b/pykolab/xml/event.py index 72c5e07..625f555 100644 --- a/pykolab/xml/event.py +++ b/pykolab/xml/event.py @@ -851,7 +851,7 @@ class Event(object): self.event.setStatus(self.status_map[status]) elif status in self.status_map.values(): self.event.setStatus(status) - else: + elif not status == kolabformat.StatusUndefined: raise InvalidEventStatusError, _("Invalid status set: %r") % (status) def set_summary(self, summary): |