'getattr' in optiondescription can return a bound method
This commit is contained in:
@ -234,7 +234,7 @@ class SubConfig(object):
|
||||
name, force_permissive=force_permissive)
|
||||
return homeconfig.getattr(name, force_permissive=force_permissive,
|
||||
validate=validate)
|
||||
opt_or_descr = getattr(self.cfgimpl_get_description(), name)
|
||||
opt_or_descr = self.cfgimpl_get_description().__getattr__(name)
|
||||
if self._impl_path is None:
|
||||
subpath = name
|
||||
else:
|
||||
|
Reference in New Issue
Block a user