Modified: CalendarServer/branches/users/glyph/uuid-normalize/twistedcaldav/database.py (9279 => 9280)
--- 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):
"""