fix conf.py

This commit is contained in:
Victor Shyba 2018-08-10 01:55:38 -03:00 committed by Jack Robison
parent 04836ea0d9
commit e85f8b245b
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -552,7 +552,7 @@ class Config:
if 'share_debug_info' in settings_dict: if 'share_debug_info' in settings_dict:
settings_dict['share_usage_data'] = settings_dict['share_debug_info'] settings_dict['share_usage_data'] = settings_dict['share_debug_info']
del settings_dict['share_debug_info'] del settings_dict['share_debug_info']
for key in settings_dict.keys(): for key in list(settings_dict.keys()):
if not self._is_valid_setting(key): if not self._is_valid_setting(key):
log.warning('Ignoring invalid conf file setting: %s', key) log.warning('Ignoring invalid conf file setting: %s', key)
del settings_dict[key] del settings_dict[key]