示例#1
0
文件: tzcontrol.py 项目: marado/tzmud
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()
示例#2
0
文件: db.py 项目: marado/tzmud
def db_upgradeall():
    import share

    share.upgradeall()