From 97645a0200842a950088cf686e13a155437ab298 Mon Sep 17 00:00:00 2001 From: Remi Rampin Date: Wed, 6 Jul 2022 14:14:55 -0400 Subject: [PATCH] Update docstrings: wildcards won't work --- scp.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/scp.py b/scp.py index 0c93896..4dfca04 100644 --- a/scp.py +++ b/scp.py @@ -236,9 +236,9 @@ def get(self, remote_path, local_path='', """ Transfer files and directories from remote host to localhost. - @param remote_path: path to retrieve from remote host. since this is - evaluated by scp on the remote host, shell wildcards and - environment variables may be used. + @param remote_path: path to retrieve from remote host. Note that + wildcards will be escaped unless you changed the `sanitize` + function. @type remote_path: str @param local_path: path in which to receive files locally @type local_path: str @@ -598,9 +598,8 @@ def get(transport, remote_path, local_path='', @param transport: an paramiko L{Transport} @type transport: L{Transport} - @param remote_path: path to retrieve from remote host. since this is - evaluated by scp on the remote host, shell wildcards and environment - variables may be used. + @param remote_path: path to retrieve from remote host. Note that wildcards + will be escaped unless you changed the `sanitize` function. @type remote_path: str @param local_path: path in which to receive files locally @type local_path: str