Mercurial > cpython-lru_cache-weakref
diff Lib/ConfigParser.py @ 20547:a12ccdbce8da legacy-trunk
Whitespace normalization.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Thu, 18 Oct 2001 21:57:37 +0000 |
| parents | 56f17810534c |
| children | c6c1a5fbb6c1 |
line wrap: on
line diff
--- a/Lib/ConfigParser.py Thu Oct 18 21:24:04 2001 +0000 +++ b/Lib/ConfigParser.py Thu Oct 18 21:57:37 2001 +0000 @@ -309,7 +309,7 @@ def getboolean(self, section, option): states = {'1': 1, 'yes': 1, 'true': 1, 'on': 1, '0': 0, 'no': 0, 'false': 0, 'off': 0} - v = self.get(section, option) + v = self.get(section, option) if not states.has_key(v.lower()): raise ValueError, 'Not a boolean: %s' % v return states[v.lower()]
