From 62579388ab080ce3785c2eae9ecf5e23f6c444f0 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Mon, 25 Jan 2010 14:37:33 +0100 Subject: [PATCH] Fix an unsafe formatting bug This might fix issue 84; in any case, the current situation is that we have a potentially unsafe formatting, which should be fixed. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Michael Hanselmann <hansmi@google.com> --- lib/mcpu.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/mcpu.py b/lib/mcpu.py index 4a5dbd51f..1efe0b889 100644 --- a/lib/mcpu.py +++ b/lib/mcpu.py @@ -342,8 +342,7 @@ class HooksMaster(object): res = results[node_name] if res.failed or res.data is False or not isinstance(res.data, list): if not res.offline: - self.proc.LogWarning("Communication failure to node %s" % - node_name) + self.proc.LogWarning("Communication failure to node %s", node_name) continue for script, hkr, output in res.data: if hkr == constants.HKR_FAIL: -- GitLab