Remove the ability to slice/index on exceptions per PEP 352.

This commit is contained in:
Brett Cannon 2007-02-27 00:15:55 +00:00
parent 44c526174d
commit ba7bf49a54
8 changed files with 16 additions and 46 deletions

View file

@ -569,7 +569,7 @@ class ConfigParser(RawConfigParser):
value = value % vars
except KeyError as e:
raise InterpolationMissingOptionError(
option, section, rawval, e[0])
option, section, rawval, e.message)
else:
break
if "%(" in value: