diff options
author | erkin <e.altunbas@vyos.io> | 2021-04-17 02:08:41 +0300 |
---|---|---|
committer | erkin <e.altunbas@vyos.io> | 2021-04-17 02:08:41 +0300 |
commit | fb0883930ab8b95f1b4ab7f30748e3c6b9c4ff25 (patch) | |
tree | 9c4a7ea93d21dc1b263c82ec53f66b5500651cd3 /python/vyos/remote.py | |
parent | 052080ef66bd8a8082226562b4d8bd9e331fe0a4 (diff) | |
download | vyos-1x-fb0883930ab8b95f1b4ab7f30748e3c6b9c4ff25.tar.gz vyos-1x-fb0883930ab8b95f1b4ab7f30748e3c6b9c4ff25.zip |
util: T3356: Fix password variables
Diffstat (limited to 'python/vyos/remote.py')
-rw-r--r-- | python/vyos/remote.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/vyos/remote.py b/python/vyos/remote.py index 18e772cc8..ef103f707 100644 --- a/python/vyos/remote.py +++ b/python/vyos/remote.py @@ -79,7 +79,7 @@ def download(local_path, urlstring): username = url.username if url.username else 'anonymous' download_ftp(local_path, url.hostname, url.path, username, url.password) elif url.scheme == 'sftp' or url.scheme == 'scp': - download_sftp(local_path, url.hostname, url.path, url.username, password) + download_sftp(local_path, url.hostname, url.path, url.username, url.password) elif url.scheme == 'tftp': download_tftp(local_path, url.hostname, url.path) else: @@ -94,7 +94,7 @@ def upload(local_path, urlstring): username = url.username if url.username else 'anonymous' upload_ftp(local_path, url.hostname, url.path, username, url.password) elif url.scheme == 'sftp' or url.scheme == 'scp': - upload_sftp(local_path, url.hostname, url.path, url.username, password) + upload_sftp(local_path, url.hostname, url.path, url.username, url.password) elif url.scheme == 'tftp': upload_tftp(local_path, url.hostname, url.path) else: |