mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fixes issue #691, raw_env config file parsing
This commit is contained in:
parent
3d0afc837e
commit
dbf6c76ac1
@ -167,7 +167,7 @@ class Config(object):
|
|||||||
for e in raw_env:
|
for e in raw_env:
|
||||||
s = six.bytes_to_str(e)
|
s = six.bytes_to_str(e)
|
||||||
try:
|
try:
|
||||||
k, v = s.split('=')
|
k, v = s.split('=', 1)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
raise RuntimeError("environement setting %r invalid" % s)
|
raise RuntimeError("environement setting %r invalid" % s)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user