[CalendarServer-changes] [8577] CalendarServer/branches/users/glyph/parallel-upgrade_to_1/ calendarserver/tools/util.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Jan 24 00:57:17 PST 2012


Revision: 8577
          http://trac.macosforge.org/projects/calendarserver/changeset/8577
Author:   glyph at apple.com
Date:     2012-01-24 00:57:17 -0800 (Tue, 24 Jan 2012)
Log Message:
-----------
optionally accept config as a parameter

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/parallel-upgrade_to_1/calendarserver/tools/util.py

Modified: CalendarServer/branches/users/glyph/parallel-upgrade_to_1/calendarserver/tools/util.py
===================================================================
--- CalendarServer/branches/users/glyph/parallel-upgrade_to_1/calendarserver/tools/util.py	2012-01-24 08:56:47 UTC (rev 8576)
+++ CalendarServer/branches/users/glyph/parallel-upgrade_to_1/calendarserver/tools/util.py	2012-01-24 08:57:17 UTC (rev 8577)
@@ -70,7 +70,7 @@
 
     return config
 
-def getDirectory():
+def getDirectory(config=config):
 
     class MyDirectoryService (AggregateDirectoryService):
         def getPrincipalCollection(self):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120124/0eee23da/attachment.html>


More information about the calendarserver-changes mailing list