From: Chris Dunlop Date: Tue, 11 Sep 2018 07:42:24 +0000 (+1000) Subject: Fix extend_path() to extend_env(). X-Git-Tag: 0.0.35~5^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9f5269600e31f5597d66068e5561fc23e68d405b;p=remoto.git Fix extend_path() to extend_env(). Commit d8b8ebacccf7 changed extend_path() to extend_env(), but missed a spot. This fixes it. Signed-off-by: Chris Dunlop --- diff --git a/remoto/process.py b/remoto/process.py index bba68e4..7ce487d 100644 --- a/remoto/process.py +++ b/remoto/process.py @@ -160,7 +160,7 @@ def check(conn, command, exit=False, timeout=None, **kw): if not kw.get('env'): # get the remote environment's env so we can explicitly add # the path without wiping out everything - kw = extend_path(conn, kw) + kw = extend_env(conn, kw) conn.logger.info('Running command: %s' % ' '.join(admin_command(conn.sudo, command))) result = conn.execute(_remote_check, cmd=command, **kw)