From acacb3771dcbad60f49cc9b75ac3c04335b8da3f Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 25 Mar 2008 14:29:30 +0000 Subject: [PATCH] 5th --- system/TestSsh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/TestSsh.py b/system/TestSsh.py index 71e80f9..86bb28e 100644 --- a/system/TestSsh.py +++ b/system/TestSsh.py @@ -81,7 +81,7 @@ class TestSsh: if recursive: command += "-r " if self.caller.key: command += "-i %s.rsa " - command +="%s %s:%s/%s"%(local_file,self.hostname(),self.buildname, + command +="%s %s:%s/%s"%(local_file,self.hostname(),self.buildname(), os.path.basename(local_file) or ".") return utils.system(command) -- 2.43.0