peerdb/tripe-newpeers.in (MyConfigParser): Abandon Python `ConfigParser'.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 26 May 2018 12:55:02 +0000 (13:55 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 14 Jun 2018 11:50:37 +0000 (12:50 +0100)
commitb7e5aa06ec192af281f7acb38f7cf8c8d8363dc8
tree03849e19b3442bb7cc6e03c301eaef571092291b
parent2d51bc9fb4f3f7f10b28d1931058214925afcdf8
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.
peerdb/tripe-newpeers.in