From edefb5470f648d658701f1734eb2ec88730bf4ce Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Fri, 26 Apr 2019 04:33:44 +0300 Subject: [PATCH] ssh: respect no_progress_bar on download/upload Signed-off-by: Ruslan Kuprieiev --- dvc/remote/ssh/__init__.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dvc/remote/ssh/__init__.py b/dvc/remote/ssh/__init__.py index 6d1b96238..9a90065b4 100644 --- a/dvc/remote/ssh/__init__.py +++ b/dvc/remote/ssh/__init__.py @@ -165,7 +165,10 @@ class RemoteSSH(RemoteBase): try: ssh.download( - from_info["path"], to_info["path"], progress_title=name + from_info["path"], + to_info["path"], + progress_title=name, + no_progress_bar=no_progress_bar, ) except Exception: logger.exception( @@ -192,7 +195,10 @@ class RemoteSSH(RemoteBase): try: ssh.upload( - from_info["path"], to_info["path"], progress_title=name + from_info["path"], + to_info["path"], + progress_title=name, + no_progress_bar=no_progress_bar, ) except Exception: logger.exception(