2
# Copyright 2010 Canonical Ltd. All rights reserved.
5
Check that the database revision of the current branch matches the current
6
database schema number.
12
from canonical.database.revision import (
13
confirm_dbrevision_on_startup, InvalidDatabaseRevision)
16
confirm_dbrevision_on_startup()
17
except InvalidDatabaseRevision, err:
18
print "Oops, we are trying to use an invalid database revision!"