From: Alfredo Deza Date: Mon, 16 Jul 2018 14:07:02 +0000 (-0400) Subject: process: remove extend_env from kw as they get passed onto subprocess X-Git-Tag: v0.0.32~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=dbab63f640002aa5eed4bf4e3362b5b952683444;p=remoto.git process: remove extend_env from kw as they get passed onto subprocess Signed-off-by: Alfredo Deza --- diff --git a/remoto/process.py b/remoto/process.py index 9d9117c..112f2d3 100644 --- a/remoto/process.py +++ b/remoto/process.py @@ -94,7 +94,7 @@ def extend_env(conn, arguments): if arguments.get('extend_env'): for key, value in arguments['extend_env'].items(): arguments['env'][key] = value - + arguments.pop('extend_env') return arguments