From 3efc385dc24b198ef5bedc8893f39ca203955858 Mon Sep 17 00:00:00 2001 From: Quentin Smith Date: Sun, 5 Jan 2014 14:05:01 -0500 Subject: [PATCH] Python 2.7 apparently treats "%\n" as a format specifier, when it used to be treated as a literal string. --- debian/changelog | 7 +++++++ .../share/xvm-munin-host-config/plugins/xen_cpu | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 13c6f1f..9bbbd2d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +xvm-munin-config (0.0.17) unstable; urgency=low + + * Python 2.7 apparently treats "%\n" as a format specifier, when it used + to be treated as a literal string. + + -- Quentin Smith Sun, 05 Jan 2014 14:04:53 -0500 + xvm-munin-config (0.0.16) precise; urgency=low * xen_cpu now detects the number of cpus. diff --git a/host/usr/share/xvm-munin-host-config/plugins/xen_cpu b/host/usr/share/xvm-munin-host-config/plugins/xen_cpu index 644c0d0..b50f6ec 100755 --- a/host/usr/share/xvm-munin-host-config/plugins/xen_cpu +++ b/host/usr/share/xvm-munin-host-config/plugins/xen_cpu @@ -71,7 +71,7 @@ if cmd == 'config': print """ graph_title Xen domain CPU usage graph_args --base 1000 -r --lower-limit 0 --upper-limit %d -graph_vlabel % +graph_vlabel %% graph_scale no graph_info This graph shows how CPU time is spent by Xen domains. graph_category system -- 1.7.9.5