tests on group types
This commit is contained in:
@ -97,7 +97,7 @@ class Config(object):
|
||||
if child._name not in self._cfgimpl_values:
|
||||
if child.is_multi():
|
||||
self._cfgimpl_values[child._name] = Multi(
|
||||
copy(child.getdefault()), config=self, child=child)
|
||||
copy(child.getdefault()), config=self, opt=child)
|
||||
else:
|
||||
self._cfgimpl_values[child._name] = copy(child.getdefault())
|
||||
child.setowner(self, 'default')
|
||||
@ -426,7 +426,7 @@ class Config(object):
|
||||
|
||||
def __eq__(self, other):
|
||||
"Config comparison"
|
||||
if not isinstance(other, OptionDescription):
|
||||
if not isinstance(other, Config):
|
||||
return False
|
||||
return self.getkey() == other.getkey()
|
||||
|
||||
|
Reference in New Issue
Block a user