summaryrefslogtreecommitdiffstats
path: root/Lib/ConfigParser.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-10-18 21:57:37 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-10-18 21:57:37 (GMT)
commite0c446bb4ad67294f42d4cb53b4ff28413bd8dde (patch)
treeb4f286b4e6f2259ec47569561c4c62762e78b3f2 /Lib/ConfigParser.py
parent8a57f00081b6f83168007fc701447d7926acc6c4 (diff)
downloadcpython-e0c446bb4ad67294f42d4cb53b4ff28413bd8dde.zip
cpython-e0c446bb4ad67294f42d4cb53b4ff28413bd8dde.tar.gz
cpython-e0c446bb4ad67294f42d4cb53b4ff28413bd8dde.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/ConfigParser.py')
-rw-r--r--Lib/ConfigParser.py2
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()]