diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-02-27 00:15:55 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-02-27 00:15:55 (GMT) |
commit | ba7bf49a54223b940b773c8678ab8c60da12a155 (patch) | |
tree | 48a0d5941089fdf3a1bc926ac6b94be26c84529e /Lib/ConfigParser.py | |
parent | 44c526174d9296ce358ccee9652382e7ea5377f4 (diff) | |
download | cpython-ba7bf49a54223b940b773c8678ab8c60da12a155.zip cpython-ba7bf49a54223b940b773c8678ab8c60da12a155.tar.gz cpython-ba7bf49a54223b940b773c8678ab8c60da12a155.tar.bz2 |
Remove the ability to slice/index on exceptions per PEP 352.
Diffstat (limited to 'Lib/ConfigParser.py')
-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 e080fcb..9a365c0 100644 --- a/Lib/ConfigParser.py +++ b/Lib/ConfigParser.py @@ -569,7 +569,7 @@ class ConfigParser(RawConfigParser): value = value % vars except KeyError as e: raise InterpolationMissingOptionError( - option, section, rawval, e[0]) + option, section, rawval, e.message) else: break if "%(" in value: |