Reading bazaar output?
Javier Derderian
javierder at gmail.com
Mon Aug 11 02:18:15 BST 2008
On Sun, Aug 10, 2008 at 9:43 PM, Guillermo Gonzalez
<guillo.gonzo at gmail.com>wrote:
> 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
>
OOOOOOOOH!
I was doing almost the same, but i didn't delete the previous handler!
Thanks!!!
--
Javier Derderian
javierder at gmail.com
---
En la Alegría serás Imbatible
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20080810/3569533e/attachment.htm
More information about the bazaar
mailing list