[PATCH] make run_bzr return ret code, stdout, stderr (was: stdin)

David Clymer david at zettazebra.com
Sun Sep 18 05:00:03 BST 2005


On Sun, 2005-09-18 at 10:59 +1000, Martin Pool wrote:
> 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.

Ooops. Yeah, and my Subject: line was wrong too...I'll get it together
one of these days, really.

-davidc

-- 
gpg-key: http://www.zettazebra.com/files/key.gpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050918/e7f660ae/attachment.pgp 


More information about the bazaar mailing list