Comment 3 for bug 1693234

Revision history for this message
Miguel Alejandro Cantu (miguel-cantu) wrote :

Turns out ConfigParser does indeed ignore the lines that are not section headers or key/value options.[1]

A possible solution would be to add some logic into our custom _read method to preserve these other lines.

[1] https://github.com/python/cpython/blob/2.7/Lib/ConfigParser.py#L471-L472