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