summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2016-10-06 09:43:14 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-10-06 09:43:14 +0200
commit8478ac6830d0002c77ce9b23ca6e1fd35fbec464 (patch)
tree23eb94cbc7df512954c4bfa09d539bb6010328c7 /pykolab
parentee6b450f2fabebaf18d7e7d7ea36d693ecd546ea (diff)
downloadpykolab-8478ac6830d0002c77ce9b23ca6e1fd35fbec464.tar.gz
T1221: Fix a "race" between Event and Todo properties_map dict
Summary: Fixes T1221 Reviewers: #pykolab_developers, vanmeeuwen Reviewed By: #pykolab_developers, vanmeeuwen Maniphest Tasks: T1221 Differential Revision: https://git.kolab.org/D216
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/xml/todo.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pykolab/xml/todo.py b/pykolab/xml/todo.py
index f73f239..ccd798f 100644
--- a/pykolab/xml/todo.py
+++ b/pykolab/xml/todo.py
@@ -38,6 +38,9 @@ def todo_from_message(message):
class Todo(Event):
type = 'task'
+ # This have to be a copy (see T1221)
+ properties_map = Event.properties_map.copy()
+
def __init__(self, from_ical="", from_string=""):
self._attendees = []
self._categories = []