diff --git a/tsshbatch.py b/tsshbatch.py index 0179e78..b404f4c 100755 --- a/tsshbatch.py +++ b/tsshbatch.py @@ -17,7 +17,7 @@ PROGNAME = "tsshbatch.py" BASENAME = PROGNAME.split(".py")[0] PROGENV = BASENAME.upper() -CVSID = "$Id: tsshbatch.py,v 1.142 2013/10/21 03:21:58 tundra Exp $" +CVSID = "$Id: tsshbatch.py,v 1.143 2013/10/21 19:28:21 tundra Exp $" VERSION = CVSID.split()[2] CPRT = "(c)" @@ -60,6 +60,7 @@ COMMENT = "#" FAILURE = "FAILURE: %s" +HOSTSEP = ":" INDENTWIDTH = 8 OPTIONSLIST = "G:H:NP:ehkn:p:v" PADWIDTH = 30 @@ -178,7 +179,7 @@ destination += PATHSEP if GET: - destination += host + "-" + os.path.basename(srcfile) + destination += host + HOSTSEP + os.path.basename(srcfile) PrintStdout(iTXFILE % (host + ":" + srcfile, destination)) sftp.get(srcfile, destination)