Process( by_line ) has the effect of removing line breaks in a pipe
Bug #1005866 reported by
Mike C. Fletcher
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fussy Firmware Packager |
New
|
Undecided
|
Unassigned |
Bug Description
The by_line parameter is intended to allow you to iterate line-by-line, but does this by splitting and emitting each line. When you call Pipe() the result is "".join() together. Either need to do a "for line in pipe" or make the by_line emit each line, or have the pipe recognize the by_line operation, or simply report the results of the last items' read_iter() (or something).
To post a comment you must log in.