c.d.revision : module documentation

Part of canonical.database

Code dealing with the Launchpad database patch level.
Class InvalidDatabaseRevision Exception raised by confirm_dbrevision.
Function confirm_dbrevision Check that the database we are connected to is the same
Function confirm_dbrevision_on_startup Event handler that calls confirm_dbrevision
def confirm_dbrevision(cur):
Check that the database we are connected to is the same database patch level as expected by the code.

Raises an InvalidDatabaseRevision exception if the database patch level is not what is expected.

def confirm_dbrevision_on_startup(*ignored):
Event handler that calls confirm_dbrevision
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.