Revision: 9280 http://trac.macosforge.org/projects/calendarserver/changeset/9280 Author: glyph@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): """
participants (1)
-
source_changes@macosforge.org