Commit 97b1fb6a authored by Brett Cannon's avatar Brett Cannon

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

under -3.
parent 0d89407a
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment