def upgradedb(): """Go through the database and upgrade all objects to use the latest class definitions.""" shutdown() delay() import conf src = os.path.abspath(conf.src) sys.path.append(src) import share share.upgradeall()
def db_upgradeall(): import share share.upgradeall()