extend not append

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2012-02-15 17:02:21 +01:00
parent f031a40746
commit 72fb77f135

View file

@ -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)