reorganise code

This commit is contained in:
2017-07-23 18:14:34 +02:00
parent 57a47763d6
commit 1d251374a1
3 changed files with 63 additions and 52 deletions

View File

@ -414,7 +414,8 @@ class Settings(object):
is_cached, props = self._p_.getcache(path, ntime, index)
if not is_cached:
props = self._p_.getproperties(path, opt.impl_getproperties())
if opt.impl_is_multi() and not opt.impl_is_master_slaves('slave'):
if not opt.impl_is_optiondescription() and opt.impl_is_multi() and \
not opt.impl_is_master_slaves('slave'):
props.add('empty')
if apply_requires:
requires = self.apply_requires(opt, path, setting_properties, index, False)