commit | 97b1fb6a98809e82a76953522bd3d334cbbd4260 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Sat Aug 02 03:37:50 2008 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Sat Aug 02 03:37:50 2008 +0000 |
tree | 18386bbf95e069484615cbb46aa6ea0e5bc2b441 | |
parent | 0d89407a0d6cb19648e2444dabddf77631f6525e [diff] [blame] |
Remove a __getitem__() removal on an exception to silence a warning triggered under -3.
diff --git a/Lib/ConfigParser.py b/Lib/ConfigParser.py index 65c6ae2..b6af6f9 100644 --- a/Lib/ConfigParser.py +++ b/Lib/ConfigParser.py
@@ -588,7 +588,7 @@ value = value % vars except KeyError, e: raise InterpolationMissingOptionError( - option, section, rawval, e[0]) + option, section, rawval, e.args[0]) else: break if "%(" in value: