Re: [systemd-devel] [PATCH] analyze: Python 3 compatibility

2012-07-09 Thread Dave Reisner
On Mon, Jul 09, 2012 at 08:49:35PM -0700, shawn wrote: > On Mon, 2012-07-09 at 23:40 -0400, Dave Reisner wrote: > > On Thu, Jun 14, 2012 at 03:08:19PM -0700, Shawn Landden wrote: > > > Plot verb doesn't currently work b/c Cairo bug sending to stdout in > > > python 3. > > > --- > > > > After thi

Re: [systemd-devel] [PATCH] analyze: Python 3 compatibility

2012-07-09 Thread shawn
On Mon, 2012-07-09 at 23:40 -0400, Dave Reisner wrote: > On Thu, Jun 14, 2012 at 03:08:19PM -0700, Shawn Landden wrote: > > Plot verb doesn't currently work b/c Cairo bug sending to stdout in python > > 3. > > --- > > After this patch, plot still doesn't seem to work with py3k, throwing a rather

Re: [systemd-devel] [PATCH] analyze: Python 3 compatibility

2012-07-09 Thread Dave Reisner
On Thu, Jun 14, 2012 at 03:08:19PM -0700, Shawn Landden wrote: > Plot verb doesn't currently work b/c Cairo bug sending to stdout in python 3. > --- After this patch, plot still doesn't seem to work with py3k, throwing a rather useless backtrace: Traceback (most recent call last): File "/usr/bi

Re: [systemd-devel] [PATCH] analyze: Python 3 compatibility

2012-06-19 Thread Lennart Poettering
On Thu, 14.06.12 15:08, Shawn Landden ([email protected]) wrote: > Plot verb doesn't currently work b/c Cairo bug sending to stdout in python 3. Applied. Thanks! Lennart -- Lennart Poettering - Red Hat, Inc. ___ systemd-devel mailing list system

Re: [systemd-devel] [PATCH] analyze: Python 3 compatibility

2012-06-15 Thread Zbigniew Jędrzejewski-Szmek
On 06/15/2012 12:08 AM, Shawn Landden wrote: > Plot verb doesn't currently work b/c Cairo bug sending to stdout in python 3. Hi, since you're using 'except ... as', this is compatible with python 2.6 or higher. Makes sense. This also means, that print function can be used instead os sys.stdout.wri

[systemd-devel] [PATCH] analyze: Python 3 compatibility

2012-06-14 Thread Shawn Landden
Plot verb doesn't currently work b/c Cairo bug sending to stdout in python 3. --- src/analyze/systemd-analyze | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/analyze/systemd-analyze b/src/analyze/systemd-analyze index 5d451c3..76eceee 100755 --- a/src/ana