[CalendarServer-changes] [821] CalendarServer/trunk/twistedcaldav/tap.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Dec 12 16:55:18 PST 2006


Revision: 821
          http://trac.macosforge.org/projects/calendarserver/changeset/821
Author:   wsanchez at apple.com
Date:     2006-12-12 16:55:18 -0800 (Tue, 12 Dec 2006)

Log Message:
-----------
Log docroot

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

Modified: CalendarServer/trunk/twistedcaldav/tap.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/tap.py	2006-12-13 00:48:38 UTC (rev 820)
+++ CalendarServer/trunk/twistedcaldav/tap.py	2006-12-13 00:55:18 UTC (rev 821)
@@ -21,6 +21,8 @@
 
 from zope.interface import implements
 
+from twisted.python import log
+
 from twisted.python.usage import Options
 from twisted.python.reflect import namedClass
 
@@ -100,20 +102,24 @@
         # Setup Resource hierarchy
         #
 
+        log.msg("Setting up document root: %s" % (config.DocumentRoot,))
+
         principalCollection = self.principalResourceClass(
             os.path.join(config.DocumentRoot, 'principals'),
             '/principals/',
             directory
-            )
+        )
 
         calendarCollection = self.calendarResourceClass(
             os.path.join(config.DocumentRoot, 'calendars'),
             directory,
-            '/calendars/')
+            '/calendars/'
+        )
         
-        root = self.rootResourceClass(config.DocumentRoot, 
-                            principalCollections=(principalCollection,)
-                            )
+        root = self.rootResourceClass(
+            config.DocumentRoot, 
+            principalCollections=(principalCollection,)
+        )
 
         root.putChild('principals', principalCollection)
         root.putChild('calendars', calendarCollection)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061212/1b5c6570/attachment.html


More information about the calendarserver-changes mailing list