should only mess with sys.stdout if we're using it for writing

Bug #300146 reported by Xavid Pretzer
Affects Status Importance Assigned to Milestone
debconf (Ubuntu)

Bug Description

Binary package hint: debconf

It's confusing and pointless for Debconf objects in to change sys.stdout when you pass in your own file as write, such that it's not using sys.stdout at all.

I'm basing this off source package debconf-1.5.23ubuntu1.

I've attached a patch that causes to only modify sys.stdout when the write parameter to a newly-constructed Debconf instance is unspecified.

Revision history for this message
Xavid Pretzer (xavid) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

I'd like to think about this quite hard in the light of bug 24727.

Changed in debconf:
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.