[CalendarServer-changes] [9283] CalendarServer/branches/users/glyph/uuid-normalize/txdav/caldav/ datastore/util.py

source_changes at macosforge.org source_changes at macosforge.org
Thu May 24 13:34:01 PDT 2012


Revision: 9283
          http://trac.macosforge.org/projects/calendarserver/changeset/9283
Author:   glyph at apple.com
Date:     2012-05-24 13:34:01 -0700 (Thu, 24 May 2012)
Log Message:
-----------
That variable is used later too.

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/uuid-normalize/txdav/caldav/datastore/util.py

Modified: CalendarServer/branches/users/glyph/uuid-normalize/txdav/caldav/datastore/util.py
===================================================================
--- CalendarServer/branches/users/glyph/uuid-normalize/txdav/caldav/datastore/util.py	2012-05-24 20:33:58 UTC (rev 9282)
+++ CalendarServer/branches/users/glyph/uuid-normalize/txdav/caldav/datastore/util.py	2012-05-24 20:34:01 UTC (rev 9283)
@@ -20,7 +20,6 @@
 """
 
 import os
-from uuid import UUID
 
 from zope.interface.declarations import implements
 
@@ -338,8 +337,8 @@
     @return: a L{Deferred} that fires with C{None} when the migration is
         complete.
     """
+    from twistedcaldav.config import config
     if not merge:
-        from twistedcaldav.config import config
         yield outHome.removeCalendarWithName("calendar")
         if config.RestrictCalendarsToOneComponentType:
             yield outHome.removeCalendarWithName("tasks")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120524/b3c0185b/attachment-0001.html>


More information about the calendarserver-changes mailing list