[CalendarServer-changes] [9280] CalendarServer/branches/users/glyph/uuid-normalize/twistedcaldav/ database.py

source_changes at macosforge.org source_changes at macosforge.org
Thu May 24 13:33:53 PDT 2012


Revision: 9280
          http://trac.macosforge.org/projects/calendarserver/changeset/9280
Author:   glyph at apple.com
Date:     2012-05-24 13:33:52 -0700 (Thu, 24 May 2012)
Log Message:
-----------
oops, using adbapi, commit is implicit

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/uuid-normalize/twistedcaldav/database.py

Modified: CalendarServer/branches/users/glyph/uuid-normalize/twistedcaldav/database.py
===================================================================
--- CalendarServer/branches/users/glyph/uuid-normalize/twistedcaldav/database.py	2012-05-24 20:33:50 UTC (rev 9279)
+++ CalendarServer/branches/users/glyph/uuid-normalize/twistedcaldav/database.py	2012-05-24 20:33:52 UTC (rev 9280)
@@ -349,14 +349,15 @@
         # cannot be thrown away.
         raise NotImplementedError("Persistent databases MUST support an upgrade method.")
 
+
     @inlineCallbacks
     def _db_upgrade_schema(self):
         """
         Upgrade the stored schema version to the current one.
         """
         yield self._db_execute("insert or replace into CALDAV (KEY, VALUE) values ('SCHEMA_VERSION', :1)", (self._db_version(),))
-        yield self._db_commit()
 
+
     @inlineCallbacks
     def _db_remove(self):
         """
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120524/ba74f01a/attachment-0001.html>


More information about the calendarserver-changes mailing list