Show More
@@ -540,8 +540,10 b' class ui(object):' | |||
|
540 | 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 | 544 | if v is None: |
|
545 | return v | |
|
546 | if v is _unset: | |
|
545 | 547 | if default is _unset: |
|
546 | 548 | return False |
|
547 | 549 | return default |
General Comments 0
You need to be logged in to leave comments.
Login now