chiark / gitweb /
peerdb/tripe-newpeers.in (MyConfigParser): Abandon Python `ConfigParser'.
Instead, just parse the input by hand. This makes the behaviour easier
to specify properly. The language accepted is now actually as described
in the manpage, rather than also, say, stripping `;' comments (but not
`#' comments) from assignment and continuation lines, or interpreting a
`""' as an empty value.
Fortunately, the rest of the program doesn't make much use of the
`ConfigParser' protocol, so this isn't missed.