diff options
Diffstat (limited to 'Lib/idlelib/configHandler.py')
-rw-r--r-- | Lib/idlelib/configHandler.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Lib/idlelib/configHandler.py b/Lib/idlelib/configHandler.py index e071352..2e5e2e9 100644 --- a/Lib/idlelib/configHandler.py +++ b/Lib/idlelib/configHandler.py @@ -28,9 +28,12 @@ class IdleConfParser(ConfigParser): Get an option value for given section/option or return default. If type is specified, return as type. """ - if type=='bool': getVal=self.getboolean - elif type=='int': getVal=self.getint - else: getVal=self.get + if type=='bool': + getVal=self.getboolean + elif type=='int': + getVal=self.getint + else: + getVal=self.get if self.has_option(section,option): #return getVal(section, option, raw, vars) return getVal(section, option) @@ -165,7 +168,6 @@ class IdleConf: """ pass - def GetKeys(self, name=None): """ Gets the requested keybindings or returns a final fallback keybinding @@ -174,7 +176,6 @@ class IdleConf: """ pass - def LoadCfgFiles(self): """ load all configuration files. |