aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-09-28 19:30:25 -0400
committerRob Austein <sra@hactrn.net>2015-09-28 19:30:25 -0400
commit28a2e6633ca414ffa58bd718ca89ec6b3ba723ef (patch)
tree465e317e6e57941d99700375f60fed3c0ead3f01
parent438a6d8e02afdea04e30f8782d4a701e119b3703 (diff)
RawConfigParser doesn't support super().
-rwxr-xr-xconfig/config.py3
1 files changed, 2 insertions, 1 deletions
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