@manager.command
def deploy():
    from flask.ext.migrate import upgrade
    from app.models import Role, User

    # migrate database to latest revision
    upgrade()

    # create user roles
    Role.insert_roles()

    # create self-follows for all users
    User.add_self_follows()
Format the exception part of a traceback.
dataset/ETHPy150Open ifwenvlook/blog/manage.py/deploy--crossover with--dataset/ETHPy150Open pytest-dev/pytest/_pytest/_code/_py2traceback.py/format_exception_only