Reading bazaar output?
Guillermo Gonzalez
guillo.gonzo at gmail.com
Mon Aug 11 01:43:58 BST 2008
Hi Javier,
On Sun, Aug 10, 2008 at 6:11 PM, Javier Derderian <javierder at gmail.com> wrote:
>
[snip]
> Hi!
>
> That's exactly what i need, to override sys.stdout, but I still couldn't do
> it, what i tied seems to don't work.
>
Overriding sys.stdout and sys.stderr, as you said, is the right
approach...but not enough.
> How can i do it?
I've done something quite similar for the xmlrpc service in
bzr-xmlouput, but I'm pretty sure it 'll need one or two tweaks so it
can be used in bzr-gedit.
Take a look at:
http://bazaar.launchpad.net/%7Eguillo.gonzo/bzr-xmloutput/xmlrpc/annotate/90?file_id=service.py-20080522040609-mtiwh6rjl0r5a38q-1
To be more precise, line 82 (method set_logger).
Cheers,
--
Guillermo
More information about the bazaar
mailing list