diff options
| author | Brett Cannon <bcannon@gmail.com> | 2008-08-02 03:37:50 +0000 |
|---|---|---|
| committer | Brett Cannon <bcannon@gmail.com> | 2008-08-02 03:37:50 +0000 |
| commit | 97b1fb6a98809e82a76953522bd3d334cbbd4260 (patch) | |
| tree | 18386bbf95e069484615cbb46aa6ea0e5bc2b441 | |
| parent | 0d89407a0d6cb19648e2444dabddf77631f6525e (diff) | |
| download | cpython-git-97b1fb6a98809e82a76953522bd3d334cbbd4260.tar.gz | |
Remove a __getitem__() removal on an exception to silence a warning triggered
under -3.
| -rw-r--r-- | Lib/ConfigParser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ConfigParser.py b/Lib/ConfigParser.py index 65c6ae2ae3..b6af6f9bab 100644 --- a/Lib/ConfigParser.py +++ b/Lib/ConfigParser.py @@ -588,7 +588,7 @@ class ConfigParser(RawConfigParser): value = value % vars except KeyError, e: raise InterpolationMissingOptionError( - option, section, rawval, e[0]) + option, section, rawval, e.args[0]) else: break if "%(" in value: |
