Merge pull request #5931 from tk0miya/5928_KeyError

Fix #5928: KeyError: 'DOCUTILSCONFIG' when running build
This commit is contained in:
Takeshi KOMIYA 2019-01-12 22:11:54 +09:00 committed by GitHub
commit f39fa12f8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ Bugs fixed
* #5755: C++, fix duplicate declaration error on function templates with constraints
in the return type.
* C++, parse unary right fold expressions and binary fold expressions.
* #5928: KeyError: 'DOCUTILSCONFIG' when running build
Testing
--------

View File

@ -131,7 +131,7 @@ def using_user_docutils_conf(confdir):
yield
finally:
if docutilsconfig is None:
os.environ.pop('DOCUTILSCONFIG')
os.environ.pop('DOCUTILSCONFIG', None)
else:
os.environ['DOCUTILSCONFIG'] = docutilsconfig