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): ...@@ -588,7 +588,7 @@ class ConfigParser(RawConfigParser):
value = value % vars value = value % vars
except KeyError, e: except KeyError, e:
raise InterpolationMissingOptionError( raise InterpolationMissingOptionError(
option, section, rawval, e[0]) option, section, rawval, e.args[0])
else: else:
break break
if "%(" in value: 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