mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
Remove a __getitem__() removal on an exception to silence a warning triggered
under -3.
This commit is contained in:
parent
0d89407a0d
commit
97b1fb6a98
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue