remove any notion of gunicorn in main WSGIApplication

if someone want to use a django application and load a specific module it is
better to use the --env option.
This commit is contained in:
benoitc 2013-08-27 20:38:49 +02:00
parent 1eceed0ad5
commit bdec5975ef

View File

@ -28,11 +28,7 @@ class WSGIApplication(Application):
# add the path to sys.path
sys.path.insert(0, self.cfg.chdir)
try:
djangoapp.make_default_env(self.cfg)
except RuntimeError:
# ignore silently error while loading non django apps.
pass
# load the app
return util.import_app(self.app_uri)