From 6062084e2609ee3778da12ef7f86ed773371a0cb Mon Sep 17 00:00:00 2001 From: lixiang_yewu Date: Thu, 11 Jul 2024 01:35:06 +0000 Subject: [PATCH] =?UTF-8?q?update=20common/common.py.=20=E8=BF=99=E9=87=8C?= =?UTF-8?q?=E5=86=99=E9=94=99=E4=BA=86=EF=BC=8C=E5=BA=94=E8=AF=A5=E6=98=AF?= =?UTF-8?q?dest=5Fdir?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lixiang_yewu --- common/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/common.py b/common/common.py index 1a9d443..6425cfd 100644 --- a/common/common.py +++ b/common/common.py @@ -135,7 +135,7 @@ class Pexpect(object): if self.port: cmd = "scp -P %s %s %s@%s:%s" % (self.port, src_file, self.user, self.ip, dest_dir) else: - cmd = "scp %s %s@%s:%s" % (src_file, self.user, self.ip, self.dest_dir) + cmd = "scp %s %s@%s:%s" % (src_file, self.user, self.ip, dest_dir) process = pexpect.spawn(cmd) self._expect(process) msg = process.readlines() -- Gitee