]> granicus.if.org Git - python/commit
ConfigParser._interpolate(): Pass the missing key to the
authorFred Drake <fdrake@acm.org>
Tue, 31 Dec 2002 06:55:41 +0000 (06:55 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 31 Dec 2002 06:55:41 +0000 (06:55 +0000)
commit00dc5a93c12484c3df57bd3bf2e0c6e78345a98b
tree1f04a9596444afd129e5917611fa07322620e62b
parenta3661e126768c7d6850308af4fce8a2efbcf45e2
ConfigParser._interpolate():  Pass the missing key to the
    InterpolationError constructor, not the KeyError exception itself.
    (Caught by the new InterpolationError test.)

SafeConfigParser._interpolate_some():  Pass the right number of
    arguments to the InterpolationError constructor.
    (Caught by pychecker.)
Lib/ConfigParser.py