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