Mercurial > cpython-lru_cache-weakref
diff Lib/ConfigParser.py @ 48135:a7bf503c857e legacy-trunk
Remove a __getitem__() removal on an exception to silence a warning triggered
under -3.
| author | Brett Cannon <bcannon@gmail.com> |
|---|---|
| date | Sat, 02 Aug 2008 03:37:50 +0000 |
| parents | e534ee0a4cd0 |
| children | 83228bbe5906 6b1b2e7a06e9 |
line wrap: on
line diff
--- a/Lib/ConfigParser.py Sat Aug 02 03:32:13 2008 +0000 +++ b/Lib/ConfigParser.py Sat Aug 02 03:37:50 2008 +0000 @@ -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:
