Removed the wsgi.py warning about starting without virtualenv; this is normal under Py3.
- Legacy-Id: 18058
This commit is contained in:
parent
e8094b2016
commit
a827c482c2
|
@ -56,8 +56,6 @@ virtualenv_activation = os.path.join(path, "env", "bin", "activate_this.py")
|
|||
if os.path.exists(virtualenv_activation):
|
||||
syslog.syslog("Starting datatracker wsgi with virtualenv %s" % os.path.dirname(os.path.dirname(virtualenv_activation)))
|
||||
exec(compile(io.open(virtualenv_activation, "rb").read(), virtualenv_activation, 'exec'), dict(__file__=virtualenv_activation))
|
||||
else:
|
||||
syslog.syslog("Starting datatracker wsgi without virtualenv")
|
||||
|
||||
if not path in sys.path:
|
||||
sys.path.insert(0, path)
|
||||
|
|
Loading…
Reference in a new issue