1
0
Fork 0

fix splitting on multiple equals in val

This commit is contained in:
Nick Sweeting 2020-11-22 12:33:15 -05:00 committed by GitHub
parent afe9319c25
commit b11d562445
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -865,7 +865,7 @@ def config(config_options_str: Optional[str]=None,
stderr(f' {line}')
raise SystemExit(2)
raw_key, val = line.split('=')
raw_key, val = line.split('=', 1)
raw_key = raw_key.upper().strip()
key = get_real_name(raw_key)
if key != raw_key: