[PATCH] make run_bzr return ret code, stdout, stdin

Martin Pool martinpool at gmail.com
Sun Sep 18 01:59:00 BST 2005


On 18/09/05, David Clymer <david at zettazebra.com> wrote:
> Since we are to start using run_bzr() for tests (according to the
> run_bzr() docstring anyway), I've modified it so that we can get the
> same kinda stuff from it that we got from runbzr()
> 
> This patch causes run_bzr to return a tuple containing the return code,
> followed by stdout and stderr StringIO objects.

Thanks - the parameters were in the wrong order but I've fixed that up
and add some other stuff so that stderr includes the error messages as
they would be shown normally.

-- 
Martin




More information about the bazaar mailing list