#993: bibtask.write_message stream parameters needs tweaked for tests
------------------------+----------------------
Reporter:  adeiana      |      Owner:
    Type:  enhancement  |     Status:  new
Priority:  minor        |  Component:  BibSched
 Version:               |   Keywords:
------------------------+----------------------
 When doing tests, we change sys.stdout all the time (usually replacing it
 with StringIO)
 The way write_message is setup is that it checks for sys.stdout from when
 it was first imported.

 I suggest replacing this with a standard stream = None; if stream is None:
 stream = sys.stdout

-- 
Ticket URL: <http://invenio-software.org/ticket/993>
Invenio <http://invenio-software.org>

Reply via email to