##// END OF EJS Templates
config: use '_config' within 'configbool'...
marmoute -
r33059:1dc2ffe0 default
parent child Browse files
Show More
@@ -540,8 +540,10 b' class ui(object):'
540 ConfigError: foo.invalid is not a boolean ('somevalue')
540 ConfigError: foo.invalid is not a boolean ('somevalue')
541 """
541 """
542
542
543 v = self.config(section, name, default, untrusted=untrusted)
543 v = self._config(section, name, default, untrusted=untrusted)
544 if v is None:
544 if v is None:
545 return v
546 if v is _unset:
545 if default is _unset:
547 if default is _unset:
546 return False
548 return False
547 return default
549 return default
General Comments 0
You need to be logged in to leave comments. Login now