values/settings is not useful to KernelGroupConfig

This commit is contained in:
2018-09-26 22:29:08 +02:00
parent 4426cc5111
commit 242615f68b
5 changed files with 31 additions and 48 deletions

View File

@ -214,6 +214,9 @@ class ConfigBag:
def copy(self):
kwargs = {}
for key in self.__slots__:
if key in ['properties', 'permissives'] and \
not hasattr(self.context, '_impl_settings'):
continue
kwargs[key] = getattr(self, key)
return ConfigBag(**kwargs)