I've looked into this issue a bit more don't commit inaccurate commit messages
>From 5fb21257ad39ba81c1db6e402b9bbf91d5bbb640 Mon Sep 17 00:00:00 2001 From: Shawn Landden <[email protected]> Date: Tue, 10 Jul 2012 03:57:18 +0000 Subject: [PATCH] analyze: work around bug in Python 3 Cairo bindings Python 3 Cairo bindings have not been update to work with the new IO system, therefore sys.stdout and sys.stderr do not work. Work around this by using /dev/stdout. http://bugs.freedesktop.org/show_bug.cgi?id=50989 --- src/analyze/systemd-analyze | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analyze/systemd-analyze b/src/analyze/systemd-analyze index 76eceee..240d541 100755 --- a/src/analyze/systemd-analyze +++ b/src/analyze/systemd-analyze @@ -150,7 +150,7 @@ def plot(): if width < 1000: width = 1000 - surface = cairo.SVGSurface(sys.stdout, width, height) + surface = cairo.SVGSurface("/dev/stdout", width, height) context = cairo.Context(surface) draw_box(context, 0, 0, width, height, 1, 1, 1) -- 1.7.10.4 _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
