[CalendarServer-changes] [9396] CalendarServer/trunk

source_changes at macosforge.org source_changes at macosforge.org
Wed Jun 27 13:55:53 PDT 2012


Revision: 9396
          http://trac.macosforge.org/projects/calendarserver/changeset/9396
Author:   cdaboo at apple.com
Date:     2012-06-27 13:55:52 -0700 (Wed, 27 Jun 2012)
Log Message:
-----------
Fix issue with private comments and \-escaped characters.

Modified Paths:
--------------
    CalendarServer/trunk/support/build.sh
    CalendarServer/trunk/twistedcaldav/__init__.py

Modified: CalendarServer/trunk/support/build.sh
===================================================================
--- CalendarServer/trunk/support/build.sh	2012-06-27 20:54:18 UTC (rev 9395)
+++ CalendarServer/trunk/support/build.sh	2012-06-27 20:55:52 UTC (rev 9396)
@@ -743,7 +743,7 @@
     "${pypi}/p/python-ldap/${ld}.tar.gz";
 
   # XXX actually PyCalendar should be imported in-place.
-  py_dependency -fe -i "src" -r 202 \
+  py_dependency -fe -i "src" -r 204 \
     "pycalendar" "pycalendar" "pycalendar" \
     "http://svn.mulberrymail.com/repos/PyCalendar/branches/server";
 

Modified: CalendarServer/trunk/twistedcaldav/__init__.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/__init__.py	2012-06-27 20:54:18 UTC (rev 9395)
+++ CalendarServer/trunk/twistedcaldav/__init__.py	2012-06-27 20:55:52 UTC (rev 9396)
@@ -57,5 +57,13 @@
     "Schedule-Tag": (str, singleHeader),
 })
 
+# Do some PyCalendar init
 from pycalendar.calendar import PyCalendar
+from pycalendar.property import PyCalendarProperty
+from pycalendar.value import PyCalendarValue
+
 PyCalendar.setPRODID("-//CALENDARSERVER.ORG//NONSGML Version 1//EN")
+
+# These are properties we use directly and we want the default value type set for TEXT
+PyCalendarProperty.regsiterDefaultValue("X-CALENDARSERVER-PRIVATE-COMMENT", PyCalendarValue.VALUETYPE_TEXT)
+PyCalendarProperty.regsiterDefaultValue("X-CALENDARSERVER-ATTENDEE-COMMENT", PyCalendarValue.VALUETYPE_TEXT)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120627/44dd2642/attachment.html>


More information about the calendarserver-changes mailing list