推荐学习书目
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 · Jul 16, 2015 · 2160 views
    This topic created in 4027 days ago, the information mentioned may be changed or developed.
    今天遇到一个奇葩的情况,我打开了logging模块的__init__.py文件,然后,什么都不干,保存,这时候,__init__.py的修改时间更新了,然后webpy就不停的报异常,必须要reload uwsgi才行。

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

    不知道是什么原因
    2 replies    2015-07-16 16:46:44 +08:00
    janxin
        1
    janxin  
       Jul 16, 2015
    试试 web.config.debug = False ?
    larkifly
        2
    larkifly  
    OP
       Jul 16, 2015
    @janxin 没有用
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2912 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 03:54 · PVG 11:54 · LAX 20:54 · JFK 23:54
    ♥ Do have faith in what you're doing.