From 72fb77f13552bc5fbc240e8c584c94cc4b3ce16c Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 15 Feb 2012 17:02:21 +0100 Subject: [PATCH] extend not append Signed-off-by: Nico Schottelius --- lib/cdist/exec/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cdist/exec/remote.py b/lib/cdist/exec/remote.py index 7cd9052d..124c1b4f 100644 --- a/lib/cdist/exec/remote.py +++ b/lib/cdist/exec/remote.py @@ -104,7 +104,7 @@ class Remote(object): # variable declarations if env: remote_env = ["%s=%s" % item for item in env.items()] - cmd.append(remote_env) + cmd.extend(remote_env) cmd.extend(command)