[CalendarServer-changes] [307] CalendarServer/branches/users/cdaboo/dropbox/twistedcaldav

source_changes at macosforge.org source_changes at macosforge.org
Thu Oct 26 12:27:23 PDT 2006


Revision: 307
          http://trac.macosforge.org/projects/calendarserver/changeset/307
Author:   cdaboo at apple.com
Date:     2006-10-26 12:27:23 -0700 (Thu, 26 Oct 2006)

Log Message:
-----------
Tweak property names.

Modified Paths:
--------------
    CalendarServer/branches/users/cdaboo/dropbox/twistedcaldav/customxml.py
    CalendarServer/branches/users/cdaboo/dropbox/twistedcaldav/dropbox.py
    CalendarServer/branches/users/cdaboo/dropbox/twistedcaldav/resource.py

Modified: CalendarServer/branches/users/cdaboo/dropbox/twistedcaldav/customxml.py
===================================================================
--- CalendarServer/branches/users/cdaboo/dropbox/twistedcaldav/customxml.py	2006-10-26 19:24:00 UTC (rev 306)
+++ CalendarServer/branches/users/cdaboo/dropbox/twistedcaldav/customxml.py	2006-10-26 19:27:23 UTC (rev 307)
@@ -85,7 +85,7 @@
     (Apple Extension to CalDAV)
     """
     namespace = twisted_dav_namespace
-    name = "dropboxhome"
+    name = "dropbox-home"
 
 class DropBox (davxml.WebDAVEmptyElement):
     """
@@ -109,7 +109,7 @@
     (Apple Extension to CalDAV)
     """
     namespace = twisted_dav_namespace
-    name = "drop-box-home-URL"
+    name = "dropbox-home-URL"
     hidden = True
     protected = True
 

Modified: CalendarServer/branches/users/cdaboo/dropbox/twistedcaldav/dropbox.py
===================================================================
--- CalendarServer/branches/users/cdaboo/dropbox/twistedcaldav/dropbox.py	2006-10-26 19:24:00 UTC (rev 306)
+++ CalendarServer/branches/users/cdaboo/dropbox/twistedcaldav/dropbox.py	2006-10-26 19:27:23 UTC (rev 307)
@@ -70,11 +70,11 @@
         if DropBox.enabled:
 
             # Need to setup live properties
-            assert (twisted_dav_namespace, "drop-box-home-URL") not in CalendarPrincipalResource.liveProperties, \
+            assert (twisted_dav_namespace, "dropbox-home-URL") not in CalendarPrincipalResource.liveProperties, \
                 "DropBox.enable must only be called once"
 
             CalendarPrincipalResource.liveProperties += (
-                (twisted_dav_namespace, "drop-box-home-URL"      ),
+                (twisted_dav_namespace, "dropbox-home-URL"  ),
                 (twisted_dav_namespace, "notifications-URL" ),
             )
 

Modified: CalendarServer/branches/users/cdaboo/dropbox/twistedcaldav/resource.py
===================================================================
--- CalendarServer/branches/users/cdaboo/dropbox/twistedcaldav/resource.py	2006-10-26 19:24:00 UTC (rev 306)
+++ CalendarServer/branches/users/cdaboo/dropbox/twistedcaldav/resource.py	2006-10-26 19:27:23 UTC (rev 307)
@@ -594,7 +594,7 @@
 
             elif namespace == twisted_dav_namespace:
                 from twistedcaldav.dropbox import DropBox
-                if name == "drop-box-home-URL":
+                if name == "dropbox-home-URL":
                     # Use the first calendar home only
                     home = ""
                     for url in self.calendarHomeURLs():

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061026/847a3f81/attachment.html


More information about the calendarserver-changes mailing list