Comment 3 for bug 590766

Revision history for this message
Michael Nelson (michael.nelson) wrote :

It may be that the new code in devel (bug 588288), which updates the parse_line function to read one line at a time, is returning the incorrect number of parsed_bytes. I had a brief look and didn't see why this might be the case (as both lines returned by fd.readlines() and fd.readline() include the '\n'.

It certainly looks as though it hasn't got the start of a line (ie. '0] "GET...), but the return values are tested in:
lib/lp/services/apachelogparser/tests/test_apachelogparser.py