diff --git a/tsshbatch.py b/tsshbatch.py index 6b7e4bd..4415637 100755 --- a/tsshbatch.py +++ b/tsshbatch.py @@ -20,7 +20,7 @@ CMDINCL = PROGENV + "CMDS" HOSTINCL = PROGENV + "HOSTS" -CVSID = "$Id: tsshbatch.py,v 1.180 2014/03/28 20:28:10 tundra Exp $" +CVSID = "$Id: tsshbatch.py,v 1.181 2014/03/28 20:32:12 tundra Exp $" VERSION = CVSID.split()[2] CPRT = "(c)" DATE = "2011-2014" @@ -143,7 +143,7 @@ eBADTXRQ = "Bad Transfer Request: %s Must Have Exactly 1 Source And 1 Destination!" eBADDEFINE = "Bad Symbol Definition: %s" eBADTIMEOUT = "Timeout Value Must Be an Integer!" -eFXERROR = "File Transfer Error: %s" +eFXERROR = "%s File Transfer Error: %s" eINCLUDECYCLE = "Circular Include At: %s" eNOCONNECT = "Cannot Connect: %s" eNOHOSTS = "No Hosts Specified!" @@ -291,7 +291,7 @@ ssh.close() except: - ErrorExit(eFXERROR % (str(sys.exc_info()[1]))) + ErrorExit(eFXERROR % (host, str(sys.exc_info()[1]))) try: sftp.close()