[CalendarServer-changes] [6112] CalendarServer/trunk/txcaldav/calendarstore/postgres.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Aug 18 11:27:58 PDT 2010


Revision: 6112
          http://trac.macosforge.org/projects/calendarserver/changeset/6112
Author:   glyph at apple.com
Date:     2010-08-18 11:27:57 -0700 (Wed, 18 Aug 2010)
Log Message:
-----------
forget uid memoization as well, to correct failing txcaldav.calendarstore.test.test_postgres.CalendarSQLStorageTests.test_removeCalendarObjectWithUID_exists

Modified Paths:
--------------
    CalendarServer/trunk/txcaldav/calendarstore/postgres.py

Modified: CalendarServer/trunk/txcaldav/calendarstore/postgres.py
===================================================================
--- CalendarServer/trunk/txcaldav/calendarstore/postgres.py	2010-08-18 18:20:12 UTC (rev 6111)
+++ CalendarServer/trunk/txcaldav/calendarstore/postgres.py	2010-08-18 18:27:57 UTC (rev 6112)
@@ -1360,6 +1360,7 @@
             [uid, self._resourceID]
         )
         self._objects.pop(name, None)
+        self._objects.pop(uid, None)
         self._updateSyncToken()
 
         if self._notifier:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100818/302886e9/attachment.html>


More information about the calendarserver-changes mailing list