OutputLineHandler doesn't empty buffer on complete lines
Bug #752149 reported by
William Grant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
William Grant |
Bug Description
Writing "hi", "!\n", "!\n" to an OutputLineHandler results in ["hi!", "hi!"] instead of the intended ["hi!", "!']. It doesn't clear the incomplete line buffer when it receives just a complete line.
Related branches
lp:~wgrant/launchpad/bug-752149
- Robert Collins (community): Approve
-
Diff: 36 lines (+10/-4)2 files modifiedlib/lp/services/command_spawner.py (+3/-4)
lib/lp/services/tests/test_command_spawner.py (+7/-0)
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r12766 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 12766>.