mandatory_warnings never raises ConfigError

This commit is contained in:
Emmanuel Garette 2013-12-16 14:20:35 +01:00
parent c58de18b62
commit 172a33f842
1 changed files with 2 additions and 0 deletions

View File

@ -711,4 +711,6 @@ def mandatory_warnings(config):
except PropertiesOptionError as err: except PropertiesOptionError as err:
if err.proptype == ['mandatory']: if err.proptype == ['mandatory']:
yield path yield path
except ConfigError:
pass
config.cfgimpl_reset_cache(only=('values',)) config.cfgimpl_reset_cache(only=('values',))