Remove a __getitem__() removal on an exception to silence a warning triggered

under -3.
This commit is contained in:
Brett Cannon 2008-08-02 03:37:50 +00:00
parent 0d89407a0d
commit 97b1fb6a98
1 changed files with 1 additions and 1 deletions

View File

@ -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: