[CalendarServer-changes] [5933] CalendarServer/branches/new-store-no-caldavfile/calendarserver/tools /util.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Jul 23 13:33:14 PDT 2010


Revision: 5933
          http://trac.macosforge.org/projects/calendarserver/changeset/5933
Author:   cdaboo at apple.com
Date:     2010-07-23 13:33:13 -0700 (Fri, 23 Jul 2010)
Log Message:
-----------
Fix up class import.

Modified Paths:
--------------
    CalendarServer/branches/new-store-no-caldavfile/calendarserver/tools/util.py

Modified: CalendarServer/branches/new-store-no-caldavfile/calendarserver/tools/util.py
===================================================================
--- CalendarServer/branches/new-store-no-caldavfile/calendarserver/tools/util.py	2010-07-23 20:32:24 UTC (rev 5932)
+++ CalendarServer/branches/new-store-no-caldavfile/calendarserver/tools/util.py	2010-07-23 20:33:13 UTC (rev 5933)
@@ -72,7 +72,7 @@
                 #
                 # We need that in order to locate calendar homes via the directory.
                 #
-                from twistedcaldav.resource import DirectoryCalendarHomeProvisioningResource
+                from twistedcaldav.directory.calendar import DirectoryCalendarHomeProvisioningResource
                 DirectoryCalendarHomeProvisioningResource(self, "/calendars/", _newStore)
 
                 from twistedcaldav.directory.principal import DirectoryPrincipalProvisioningResource
@@ -142,6 +142,7 @@
     # Need a data store
     _newStore = CommonDataStore(FilePath(config.DocumentRoot), True, False)
 
+    from twistedcaldav.directory.calendar import DirectoryCalendarHomeProvisioningResource
     calendarCollection = DirectoryCalendarHomeProvisioningResource(
         aggregate, "/calendars/",
         _newStore,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100723/63f6a53e/attachment.html>


More information about the calendarserver-changes mailing list