Allow the '=' character in the -D option of sphinx-build.py

This commit is contained in:
Daniel
2016-10-20 13:30:24 +01:00
committed by Takeshi KOMIYA
parent 4411f677cf
commit 411ad98768

View File

@@ -204,7 +204,7 @@ def main(argv):
confoverrides = {}
for val in opts.define:
try:
key, val = val.split('=')
key, val = val.split('=', 1)
except ValueError:
print('Error: -D option argument must be in the form name=value.',
file=sys.stderr)