Example #1
0
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()
Example #2
0
File: db.py Project: marado/tzmud
def db_upgradeall():
    import share

    share.upgradeall()