[Cryptech-Commits] [core/platform/novena] 18/21: RawConfigParser doesn't support super().

git at cryptech.is git at cryptech.is
Tue Sep 29 05:24:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch config_core_selector_sra
in repository core/platform/novena.

commit 28a2e6633ca414ffa58bd718ca89ec6b3ba723ef
Author: Rob Austein <sra at hactrn.net>
Date:   Mon Sep 28 19:30:25 2015 -0400

    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
 



More information about the Commits mailing list