summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2017-07-21 14:10:51 +0200
committerAleksander Machniak <machniak@kolabsys.com>2017-07-21 14:10:51 +0200
commit24da53112b65dfff8ce518816edf34306f428db3 (patch)
tree0887fbc2e82831a2e262eafe9f26cf130a65efe9
parent7f347ae804be0bba195acbe387f57b334a91e2ac (diff)
parente522f9e05addf750a835d00f62361d821aab811c (diff)
downloadpykolab-24da53112b65dfff8ce518816edf34306f428db3.tar.gz
Merge branch 'arcpatch-D479'
-rw-r--r--pykolab/xml/event.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pykolab/xml/event.py b/pykolab/xml/event.py
index 82b6c33..7ecdf36 100644
--- a/pykolab/xml/event.py
+++ b/pykolab/xml/event.py
@@ -880,7 +880,8 @@ class Event(object):
if attr == "categories":
self.add_category(value)
elif attr == "class":
- self.set_classification(value)
+ if (value and value[:2] not in ['X-', 'x-']):
+ self.set_classification(value)
elif attr == "recurrenceid":
self.set_ical_recurrenceid(value, params)
elif hasattr(self, ical_setter):