values/settings is not useful to KernelGroupConfig
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user