Update of /cvsroot/python/python/dist/src/Lib In directory usw-pr-cvs1:/tmp/cvs-serv7784/Lib Modified Files: Tag: release21-maint ConfigParser.py Log Message: When reading a continuation line, make sure we still use the transformed name when filling in the internal data structures, otherwise we incorrectly raise a KeyError. This fixes SF bug #432369. Index: ConfigParser.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/ConfigParser.py,v retrieving revision 1.32 retrieving revision 1.32.4.1 diff -C2 -r1.32 -r1.32.4.1 *** ConfigParser.py 2001/02/26 21:55:34 1.32 --- ConfigParser.py 2001/07/06 17:23:22 1.32.4.1 *************** *** 432,436 **** value = line.strip() if value: ! cursect[optname] = cursect[optname] + '\n ' + value # a section header or option header? else: --- 432,437 ---- value = line.strip() if value: ! k = self.optionxform(optname) ! cursect[k] = "%s\n%s" % (cursect[k], value) # a section header or option header? else:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4