gnicorn fix, thanks Ander Arbelaiz
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.00.0 (2012-08-12 10:38:38) dev
|
Version 2.00.0 (2012-08-13 10:45:57) dev
|
||||||
|
|||||||
@@ -128,6 +128,7 @@ class Servers:
|
|||||||
from gunicorn.app.base import Application
|
from gunicorn.app.base import Application
|
||||||
config = {'bind': "%s:%d" % address}
|
config = {'bind': "%s:%d" % address}
|
||||||
config.update(options)
|
config.update(options)
|
||||||
|
sys.argv = ['anyserver.py']
|
||||||
class GunicornApplication(Application):
|
class GunicornApplication(Application):
|
||||||
def init(self, parser, opts, args):
|
def init(self, parser, opts, args):
|
||||||
return config
|
return config
|
||||||
|
|||||||
Reference in New Issue
Block a user