pykolab/xml

Thomas Brüderli bruederli at kolabsys.com
Tue Mar 11 10:09:32 CET 2014


 pykolab/xml/attendee.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e9634cff74a53a653b2581b771e0b8a7cafe02ec
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date:   Wed Mar 5 19:44:04 2014 -0500

    Fix ROLE parameter mapping according to RFC 2445

diff --git a/pykolab/xml/attendee.py b/pykolab/xml/attendee.py
index 68e9d9b..c62bbb1 100644
--- a/pykolab/xml/attendee.py
+++ b/pykolab/xml/attendee.py
@@ -23,9 +23,9 @@ class Attendee(kolabformat.Attendee):
         }
 
     role_map = {
-            "REQ-PARTICIPANT": kolabformat.Required,
             "CHAIR": kolabformat.Chair,
-            "OPTIONAL": kolabformat.Optional,
+            "REQ-PARTICIPANT": kolabformat.Required,
+            "OPT-PARTICIPANT": kolabformat.Optional,
             "NON-PARTICIPANT": kolabformat.NonParticipant,
         }
 




More information about the commits mailing list