diff options
| author | Tim Peters <tim.peters@gmail.com> | 2001-10-18 21:57:37 +0000 |
|---|---|---|
| committer | Tim Peters <tim.peters@gmail.com> | 2001-10-18 21:57:37 +0000 |
| commit | a8d470a2c896df07b910703d1b52e8398928a08c (patch) | |
| tree | cc6e67da0183b03a3e88897002468c57d6d34306 /Lib/ConfigParser.py | |
| parent | c953a2d1ace4b77bedb31ef2caca61252c5d881e (diff) | |
| download | cpython-a8d470a2c896df07b910703d1b52e8398928a08c.tar.gz | |
Whitespace normalization.
Diffstat (limited to 'Lib/ConfigParser.py')
| -rw-r--r-- | Lib/ConfigParser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ConfigParser.py b/Lib/ConfigParser.py index 788c6593ad..190b6942f3 100644 --- a/Lib/ConfigParser.py +++ b/Lib/ConfigParser.py @@ -309,7 +309,7 @@ class ConfigParser: 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()] |
