From 640b961e7660788a119063613eab36aa5259afce Mon Sep 17 00:00:00 2001 From: Luca Bigliardi <shammash@google.com> Date: Wed, 9 Sep 2009 10:46:25 +0100 Subject: [PATCH] mcpu: formatting/indenting fix Small fix for a mistake done by bad editor settings. Signed-off-by: Luca Bigliardi <shammash@google.com> --- lib/mcpu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mcpu.py b/lib/mcpu.py index 4c2958420..f6c510ed6 100644 --- a/lib/mcpu.py +++ b/lib/mcpu.py @@ -364,7 +364,7 @@ class HooksMaster(object): raise errors.HooksFailure(msg) else: self.lu.LogWarning(msg) - return results + return results for node_name in results: res = results[node_name] if res.offline: @@ -380,7 +380,7 @@ class HooksMaster(object): errs.append((node_name, script, output)) else: if not output: - output = "(no output)" + output = "(no output)" self.lu.LogWarning("On %s script %s failed, output: %s" % (node_name, script, output)) if errs and phase == constants.HOOKS_PHASE_PRE: -- GitLab