Cleanup of runserver.wsgi
This commit is contained in:
parent
06b7df4d5b
commit
5d8bd6dd76
@ -1,13 +1,10 @@
|
||||
import sys
|
||||
from flup.server.fcgi import WSGIServer
|
||||
from application import app
|
||||
|
||||
activate_this = '/data/venv/bin/activate_this.py'
|
||||
execfile(activate_this, dict(__file__=activate_this))
|
||||
import sys
|
||||
#import logging
|
||||
sys.path.append('/data/dev/pillar/pillar/')
|
||||
from flup.server.fcgi import WSGIServer
|
||||
from application import app as application
|
||||
|
||||
#logging.basicConfig(filename='/tmp/error.log', level=logging.DEBUG)
|
||||
|
||||
if __name__ == '__main__':
|
||||
WSGIServer(application).run()
|
||||
|
||||
WSGIServer(app).run()
|
||||
|
Loading…
x
Reference in New Issue
Block a user