Mercurial > hg > martINI
diff martini/config.py @ 14:904bb82c3308
py35
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Mon, 20 Feb 2017 14:46:42 -0800 |
parents | 4faed08eb8d8 |
children | 5de4f7d434de |
line wrap: on
line diff
--- a/martini/config.py Mon Feb 20 14:34:36 2017 -0800 +++ b/martini/config.py Mon Feb 20 14:46:42 2017 -0800 @@ -109,7 +109,7 @@ for key, val in self.items(section, raw=True): try: self.get(section, key) - except InterpolationMissingOptionError, e: + except InterpolationMissingOptionError as e: missing.add(e.reference) return missing