diff --git a/lib/mcpu.py b/lib/mcpu.py
index 4c2958420998b06581b8deed95e8a5f2bc4dbbb0..f6c510ed6e370e79a01a613746d030693481204f 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: