Ignore nonexisting config settings.

This commit is contained in:
Georg Brandl 2008-02-10 10:59:05 +00:00
parent a1e379d46c
commit 8dc8280c3c

View File

@ -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