pf9_mors.py 文件源码

python
阅读 16 收藏 0 点赞 0 评论 0

项目:mors 作者: openstack 项目源码 文件源码
def start_server(conf, paste_ini):
    _configure_logging(conf)
    paste_file = None
    if paste_ini:
        paste_file = paste_ini
    else:
        paste_file = conf.get("DEFAULT", "paste-ini")

    wsgi_app = loadapp('config:%s' % paste_file, 'main')
    mors_wsgi.start_server(conf)
    wsgi.server(eventlet.listen(('', conf.getint("DEFAULT", "listen_port"))), wsgi_app)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号