[CalendarServer-changes] [5755] CalendarServer/trunk/twistedcaldav/customxml.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Jun 16 10:45:50 PDT 2010


Revision: 5755
          http://trac.macosforge.org/projects/calendarserver/changeset/5755
Author:   sagen at apple.com
Date:     2010-06-16 10:45:48 -0700 (Wed, 16 Jun 2010)
Log Message:
-----------
Renaming push namespace

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/customxml.py

Modified: CalendarServer/trunk/twistedcaldav/customxml.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/customxml.py	2010-06-16 16:35:58 UTC (rev 5754)
+++ CalendarServer/trunk/twistedcaldav/customxml.py	2010-06-16 17:45:48 UTC (rev 5755)
@@ -37,6 +37,7 @@
 import datetime
 
 calendarserver_namespace = "http://calendarserver.org/ns/"
+mobileme_namespace = "http://cal.me.com/_namespace/"
 
 calendarserver_proxy_compliance = (
     "calendar-proxy",
@@ -298,7 +299,7 @@
     }
     allowed_children = {
         (calendarserver_namespace, "subscription-url") : (1, 1),
-        (calendarserver_namespace, "apsbundleid") : (1, 1),
+        (mobileme_namespace, "apsbundleid") : (1, 1),
         (calendarserver_namespace, "xmpp-server") : (1, 1),
         (calendarserver_namespace, "xmpp-uri") : (1, 1),
     }
@@ -311,7 +312,7 @@
     allowed_children = { (davxml.dav_namespace, "href"): (0, 1) }
 
 class PubSubAPSBundleIDProperty (davxml.WebDAVTextElement):
-    namespace = calendarserver_namespace
+    namespace = mobileme_namespace
     name = "apsbundleid"
     protected = True
     hidden = True
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100616/a6c3c059/attachment-0001.html>


More information about the calendarserver-changes mailing list