[dts] [PATCH]fix scp with password

Liu, Yong yong.liu at intel.com
Thu Dec 10 03:09:09 CET 2015


Applied. Thanks.

On 12/09/2015 01:30 PM, Lijuan Tu wrote:
> Signed-off-by: Lijuan Tu <lijuanx.a.tu at intel.com>
> ---
>   framework/crb.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/framework/crb.py b/framework/crb.py
> index 3470ca1..e3fae2f 100644
> --- a/framework/crb.py
> +++ b/framework/crb.py
> @@ -347,7 +347,7 @@ class Crb(object):
>           """
>           with open(fileName, "w") as f:
>               f.write(contents)
> -        self.session.copy_file_to(fileName)
> +        self.session.copy_file_to(fileName, password=self.get_password())
>   
>       def kill_all(self, alt_session=True):
>           """



More information about the dts mailing list