V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
larkifly
V2EX  ›  Python

uwsgi+webpy,每次 git pull 更新文件后,总会把冲突的文件加载进去,导致错误,如何破

  •  1
     
  •   larkifly · 2015-07-16 16:37:31 +08:00 · 1653 次点击
    这是一个创建于 3209 天前的主题,其中的信息可能已经有所发展或是发生改变。
    今天遇到一个奇葩的情况,我打开了logging模块的__init__.py文件,然后,什么都不干,保存,这时候,__init__.py的修改时间更新了,然后webpy就不停的报异常,必须要reload uwsgi才行。

    我这过程中,什么都没改。webpy使用logging模块打印debug信息

    不知道是什么原因
    2 条回复    2015-07-16 16:46:44 +08:00
    janxin
        1
    janxin  
       2015-07-16 16:43:04 +08:00
    试试 web.config.debug = False ?
    larkifly
        2
    larkifly  
    OP
       2015-07-16 16:46:44 +08:00
    @janxin 没有用
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4809 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 09:57 · PVG 17:57 · LAX 02:57 · JFK 05:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.