Mercurial > hg > martINI
diff martini/config.py @ 19:81e0743dbe53
py3
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 24 Nov 2020 14:48:42 -0800 |
parents | a42a02bb46ed |
children | 93c198d9bf84 |
line wrap: on
line diff
--- a/martini/config.py Thu Feb 23 09:06:21 2017 -0800 +++ b/martini/config.py Tue Nov 24 14:48:42 2020 -0800 @@ -68,9 +68,9 @@ """ return OrderedDict(self.items(section)) - def get(self, section, option, default=None, raw=False, vars=None): + def get(self, section, option, default=None, **kw) try: - value = ConfigParser.get(self, section, option, raw, vars) + value = ConfigParser.get(self, section, option, **kw) except NoOptionError: return default return value