[CalendarServer-changes] [12263] CalendarServer/trunk/txdav/caldav/datastore/scheduling/imip/ mailgateway.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 12 11:16:30 PDT 2014


Revision: 12263
          http://trac.calendarserver.org//changeset/12263
Author:   sagen at apple.com
Date:     2014-01-07 15:45:24 -0800 (Tue, 07 Jan 2014)
Log Message:
-----------
Clean up the mail token journal file

Modified Paths:
--------------
    CalendarServer/trunk/txdav/caldav/datastore/scheduling/imip/mailgateway.py

Modified: CalendarServer/trunk/txdav/caldav/datastore/scheduling/imip/mailgateway.py
===================================================================
--- CalendarServer/trunk/txdav/caldav/datastore/scheduling/imip/mailgateway.py	2014-01-07 22:21:28 UTC (rev 12262)
+++ CalendarServer/trunk/txdav/caldav/datastore/scheduling/imip/mailgateway.py	2014-01-07 23:45:24 UTC (rev 12263)
@@ -234,3 +234,6 @@
         yield txn.imipCreateToken(organizer, attendee, icaluid, token=token)
     yield txn.commit()
     os.remove(oldDB.dbpath)
+    journalPath = oldDB.dbpath + "-journal"
+    if os.path.exists(journalPath):
+        os.remove(journalPath)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/2c43fa4b/attachment.html>


More information about the calendarserver-changes mailing list