From 2c15069d96e0e35cffc7e4523f7ddf85d7d87212 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 9 Sep 2011 14:56:51 +0200 Subject: [PATCH] make remote_cmd a new list Signed-off-by: Nico Schottelius --- bin/cdist | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/cdist b/bin/cdist index a0189fbe..70df214c 100755 --- a/bin/cdist +++ b/bin/cdist @@ -344,9 +344,7 @@ class Cdist: explorers = self.list_type_explorers(type) for explorer in explorers: - # THIS IS A BUG, because remote_cmd is NOT a copy - remote_cmd = cmd - remote_cmd.append(os.path.join(self.remote_type_explorer_dir(type), explorer)) + remote_cmd = cmd + os.path.join(self.remote_type_explorer_dir(type), explorer) output = os.path.join(self.type_explorer_output_dir(cdist_object), explorer) output_fd = open(output, mode='w')