diff options
author | Steven M. Gava <elguavas@python.net> | 2001-10-29 08:05:34 (GMT) |
---|---|---|
committer | Steven M. Gava <elguavas@python.net> | 2001-10-29 08:05:34 (GMT) |
commit | 41a8532f66867e7e37d8d2ebc0642db6dc9759b2 (patch) | |
tree | e2adfdbe0bbc8e82589f90db6c56ee56763b5db4 /Lib/idlelib/configHandler.py | |
parent | 9bd1401bbbbc828b457cda4a5753d643333e08cb (diff) | |
download | cpython-41a8532f66867e7e37d8d2ebc0642db6dc9759b2.zip cpython-41a8532f66867e7e37d8d2ebc0642db6dc9759b2.tar.gz cpython-41a8532f66867e7e37d8d2ebc0642db6dc9759b2.tar.bz2 |
more of config dialog reading from files
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. |