Message11610
ConfigParser will write, but not read keys with spaces in, eg
key with spaces in = 5
raises a parse exception.
My fix, tested a small amount on one file!:
Change regexp on Line 390 to
OPTCRE = re.compile(
r'(?P<option>[^=:]+?)' # anything not an = or :, don;t grab the last space, leave for next bit
r'[ \t]*(?P<vi>[:=])[ \t]*' # any number of space/tab,
# followed by separator
# (either : or =), followed
# by any # space/tab
r'(?P<value>.*)$' # everything up to eol
)
|
|
Date |
User |
Action |
Args |
2007-08-23 14:04:16 | admin | link | issue583248 messages |
2007-08-23 14:04:16 | admin | create | |
|