mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Ignore nonexisting config settings.
This commit is contained in:
parent
a1e379d46c
commit
8dc8280c3c
@ -345,7 +345,8 @@ class BuildEnvironment:
|
||||
for key, descr in config.config_values.iteritems():
|
||||
if not descr[1]:
|
||||
continue
|
||||
if self.config[key] != config[key]:
|
||||
if not hasattr(self.config, key) or \
|
||||
self.config[key] != config[key]:
|
||||
msg = '[config changed] '
|
||||
config_changed = True
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user