Show More
@@ -131,6 +131,8 b' class ui(object):' | |||
|
131 | 131 | v = self.config(section, name, None, untrusted) |
|
132 | 132 | if v is None: |
|
133 | 133 | return default |
|
134 | if isinstance(v, bool): | |
|
135 | return v | |
|
134 | 136 | if v.lower() not in _booleans: |
|
135 | 137 | raise error.ConfigError(_("%s.%s not a boolean ('%s')") |
|
136 | 138 | % (section, name, v)) |
General Comments 0
You need to be logged in to leave comments.
Login now