This commit is contained in:
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 2010-12-17 14:40:08 +00:00
parent e6afe9d691
commit 80a1fac0fe

View file

@ -52,7 +52,7 @@ class Config(RawConfigParser):
res = self.getboolean(option, section) res = self.getboolean(option, section)
else: else:
res = self.getstr(option, section) res = self.getstr(option, section)
except NoOptionError, NoSectionError: except( NoOptionError, NoSectionError):
return default return default
return res return res