[CalendarServer-changes] [433] CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/ directory/appleopendirectory.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Nov 10 15:29:13 PST 2006


Revision: 433
          http://trac.macosforge.org/projects/calendarserver/changeset/433
Author:   wsanchez at apple.com
Date:     2006-11-10 15:29:13 -0800 (Fri, 10 Nov 2006)

Log Message:
-----------
Fix flush()

Modified Paths:
--------------
    CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/appleopendirectory.py

Modified: CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/appleopendirectory.py
===================================================================
--- CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/appleopendirectory.py	2006-11-10 22:45:29 UTC (rev 432)
+++ CalendarServer/branches/users/wsanchez/provisioning/twistedcaldav/directory/appleopendirectory.py	2006-11-10 23:29:13 UTC (rev 433)
@@ -86,7 +86,8 @@
                 self.records[recordType] = records
 
                 def flush():
-                    del records[recordType]
+                    log.msg("Flushing %s record cache" % (recordType,))
+                    del self.records[recordType]
                 reactor.callLater(recordListCacheTimeout, flush)
             else:
                 # records is empty.  This may mean the directory went down.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061110/81b356a3/attachment.html


More information about the calendarserver-changes mailing list