From 5d8bd6dd76e5f1014e6df876772fdabeb5f387d5 Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Thu, 8 Oct 2015 09:23:52 +0200 Subject: [PATCH] Cleanup of runserver.wsgi --- pillar/runserver.wsgi | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/pillar/runserver.wsgi b/pillar/runserver.wsgi index 844cca31..83d24a2b 100644 --- a/pillar/runserver.wsgi +++ b/pillar/runserver.wsgi @@ -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()