Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117917307
D123.1775413748.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1005 B
Referenced Files
None
Subscribers
None
D123.1775413748.diff
View Options
diff --git a/pykolab/xml/event.py b/pykolab/xml/event.py
--- a/pykolab/xml/event.py
+++ b/pykolab/xml/event.py
@@ -351,6 +351,8 @@
# NOTE: Make sure to list(set()) or duplicates may arise
for attr in list(set(ical_event.singletons)):
if ical_event.has_key(attr):
+ if isinstance(ical_event[attr], list):
+ ical_event[attr] = ical_event[attr][0];
self.set_from_ical(attr.lower(), ical_event[attr])
# NOTE: Make sure to list(set()) or duplicates may arise
diff --git a/pykolab/xml/todo.py b/pykolab/xml/todo.py
--- a/pykolab/xml/todo.py
+++ b/pykolab/xml/todo.py
@@ -95,6 +95,8 @@
for attr in list(set(ical_todo.singletons)):
if ical_todo.has_key(attr):
+ if isinstance(ical_todo[attr], list):
+ ical_todo[attr] = ical_todo[attr][0];
self.set_from_ical(attr.lower(), ical_todo[attr])
for attr in list(set(ical_todo.multiple)):
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 5, 6:29 PM (3 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18834168
Default Alt Text
D123.1775413748.diff (1005 B)
Attached To
Mode
D123: Fix AttributeError while parsing iCal message with duplicated some fields (#5367)
Attached
Detach File
Event Timeline