From 28a2e6633ca414ffa58bd718ca89ec6b3ba723ef Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 28 Sep 2015 19:30:25 -0400 Subject: RawConfigParser doesn't support super(). --- config/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/config.py b/config/config.py index 3ae809b..57dbddc 100755 --- a/config/config.py +++ b/config/config.py @@ -125,7 +125,8 @@ class RawConfigParser(configparser.RawConfigParser): def getboolean(self, section, option, default = False): if self.has_option(section, option): - return super(RawConfigParser, self).getboolean(section, option) + # RawConfigParser is an old-stle class, super() doesn't work, feh. + return configparser.RawConfigParser.getboolean(self, section, option) else: return default -- cgit v1.2.3