Show More
@@ -120,6 +120,7 b' ignore = [' | |||
|
120 | 120 | '_xmlplus', |
|
121 | 121 | 'fcntl', |
|
122 | 122 | 'win32com.gen_py', |
|
123 | '_winreg', # 2.7 mimetypes needs immediate ImportError | |
|
123 | 124 | 'pythoncom', |
|
124 | 125 | # imported by tarfile, not available under Windows |
|
125 | 126 | 'pwd', |
@@ -134,6 +134,8 b' class ui(object):' | |||
|
134 | 134 | v = self.config(section, name, None, untrusted) |
|
135 | 135 | if v is None: |
|
136 | 136 | return default |
|
137 | if isinstance(v, bool): | |
|
138 | return v | |
|
137 | 139 | if v.lower() not in _booleans: |
|
138 | 140 | raise error.ConfigError(_("%s.%s not a boolean ('%s')") |
|
139 | 141 | % (section, name, v)) |
General Comments 0
You need to be logged in to leave comments.
Login now