mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
useless debug info
This commit is contained in:
parent
fcab6bc144
commit
fc69d5e17c
@ -174,9 +174,6 @@ class DjangoApplicationCommand(DjangoApplication):
|
|||||||
self.cfg.set(k.lower(), v)
|
self.cfg.set(k.lower(), v)
|
||||||
|
|
||||||
def load(self):
|
def load(self):
|
||||||
for n in sys.modules.keys():
|
|
||||||
if 'settings' in n or 'djangotest' in n:
|
|
||||||
print n
|
|
||||||
from django.conf import ENVIRONMENT_VARIABLE
|
from django.conf import ENVIRONMENT_VARIABLE
|
||||||
from django.core.handlers.wsgi import WSGIHandler
|
from django.core.handlers.wsgi import WSGIHandler
|
||||||
os.environ[ENVIRONMENT_VARIABLE] = self.settings_modname
|
os.environ[ENVIRONMENT_VARIABLE] = self.settings_modname
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user