diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 05:37:25 (GMT) |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 05:37:25 (GMT) |
commit | f296019cc52477ad7c8f9f0f4b23b873f19cba7e (patch) | |
tree | 7600a27024e72ab93a80df967d719e9a3c62fe69 /Lib/ConfigParser.py | |
parent | 9eb54d982808806d40347ecee39eb129c8fbbc95 (diff) | |
download | cpython-f296019cc52477ad7c8f9f0f4b23b873f19cba7e.zip cpython-f296019cc52477ad7c8f9f0f4b23b873f19cba7e.tar.gz cpython-f296019cc52477ad7c8f9f0f4b23b873f19cba7e.tar.bz2 |
Correction after second code path test.
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 d36f11d..9d55ca7 100644 --- a/Lib/ConfigParser.py +++ b/Lib/ConfigParser.py @@ -315,7 +315,7 @@ class ConfigParser: def getboolean(self, section, option): v = self.get(section, option) - val = v.atoi() + val = int(v) if val not in (0, 1): raise ValueError, 'Not a boolean: %s' % v return val |