summaryrefslogtreecommitdiff
path: root/Lib/ConfigParser.py
diff options
context:
space:
mode:
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 d36f11d541..9d55ca7628 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