diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-10-18 21:57:37 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-10-18 21:57:37 (GMT) |
commit | e0c446bb4ad67294f42d4cb53b4ff28413bd8dde (patch) | |
tree | b4f286b4e6f2259ec47569561c4c62762e78b3f2 /Lib/ConfigParser.py | |
parent | 8a57f00081b6f83168007fc701447d7926acc6c4 (diff) | |
download | cpython-e0c446bb4ad67294f42d4cb53b4ff28413bd8dde.zip cpython-e0c446bb4ad67294f42d4cb53b4ff28413bd8dde.tar.gz cpython-e0c446bb4ad67294f42d4cb53b4ff28413bd8dde.tar.bz2 |
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 788c659..190b694 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()] |