From 6f7d4e7507a782dcac9307798026c1e2e93e161c Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Thu, 11 Jun 2009 16:32:16 +0200 Subject: [PATCH] Small whitespace change Some indentation was wrong, and pylint rightfully complained. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Guido Trotter <ultrotter@google.com> --- lib/cmdlib.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/cmdlib.py b/lib/cmdlib.py index 7f424c53f..24f931d38 100644 --- a/lib/cmdlib.py +++ b/lib/cmdlib.py @@ -1414,11 +1414,11 @@ class LURenameCluster(LogicalUnit): result = self.rpc.call_upload_file(node_list, constants.SSH_KNOWN_HOSTS_FILE) for to_node, to_result in result.iteritems(): - msg = to_result.fail_msg - if msg: - msg = ("Copy of file %s to node %s failed: %s" % - (constants.SSH_KNOWN_HOSTS_FILE, to_node, msg)) - self.proc.LogWarning(msg) + msg = to_result.fail_msg + if msg: + msg = ("Copy of file %s to node %s failed: %s" % + (constants.SSH_KNOWN_HOSTS_FILE, to_node, msg)) + self.proc.LogWarning(msg) finally: result = self.rpc.call_node_start_master(master, False) @@ -1630,11 +1630,11 @@ def _RedistributeAncillaryFiles(lu, additional_nodes=None): if os.path.exists(fname): result = lu.rpc.call_upload_file(dist_nodes, fname) for to_node, to_result in result.items(): - msg = to_result.fail_msg - if msg: - msg = ("Copy of file %s to node %s failed: %s" % - (fname, to_node, msg)) - lu.proc.LogWarning(msg) + msg = to_result.fail_msg + if msg: + msg = ("Copy of file %s to node %s failed: %s" % + (fname, to_node, msg)) + lu.proc.LogWarning(msg) class LURedistributeConfig(NoHooksLU): -- GitLab