diff --git a/Lib/ConfigParser.py b/Lib/ConfigParser.py index e7636b9b855..16d18d25eb1 100644 --- a/Lib/ConfigParser.py +++ b/Lib/ConfigParser.py @@ -440,7 +440,7 @@ def __read(self, fp, fpname): # allow empty values if optval == '""': optval = '' - cursect[optname] = optval + cursect[self.optionxform(optname)] = optval else: # a non-fatal parsing error occurred. set up the # exception but keep going. the exception will be