Commit 640b961e authored by Luca Bigliardi's avatar Luca Bigliardi
Browse files

mcpu: formatting/indenting fix

Small fix for a mistake done by bad editor settings.
Signed-off-by: default avatarLuca Bigliardi <>
parent 2d3ed64b
...@@ -364,7 +364,7 @@ class HooksMaster(object): ...@@ -364,7 +364,7 @@ class HooksMaster(object):
raise errors.HooksFailure(msg) raise errors.HooksFailure(msg)
else: else:
return results return results
for node_name in results: for node_name in results:
res = results[node_name] res = results[node_name]
if res.offline: if res.offline:
...@@ -380,7 +380,7 @@ class HooksMaster(object): ...@@ -380,7 +380,7 @@ class HooksMaster(object):
errs.append((node_name, script, output)) errs.append((node_name, script, output))
else: else:
if not output: if not output:
output = "(no output)" output = "(no output)""On %s script %s failed, output: %s" %"On %s script %s failed, output: %s" %
(node_name, script, output)) (node_name, script, output))
if errs and phase == constants.HOOKS_PHASE_PRE: if errs and phase == constants.HOOKS_PHASE_PRE:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment