diff --git a/tsshbatch.py b/tsshbatch.py index 99c055e..554e4ea 100755 --- a/tsshbatch.py +++ b/tsshbatch.py @@ -20,7 +20,7 @@ CMDINCL = PROGENV + "CMDS" HOSTINCL = PROGENV + "HOSTS" -CVSID = "$Id: tsshbatch.py,v 1.208 2014/12/09 16:48:21 tundra Exp $" +CVSID = "$Id: tsshbatch.py,v 1.209 2014/12/09 17:20:20 tundra Exp $" VERSION = CVSID.split()[2] CPRT = "(c)" PROGDATE = "2011-2014" @@ -46,6 +46,7 @@ # Imports ##### +import collections import commands import getopt import getpass @@ -225,8 +226,8 @@ Commands = [] FileIncludeStack = [] -Get_Transfer_List = {} -Put_Transfer_List = {} +Get_Transfer_List = collections.OrderedDict() +Put_Transfer_List = collections.OrderedDict() ##### @@ -1031,7 +1032,7 @@ # Apply any relevant variable dereferencing host = VarSub(host) - + print Put_Transfer_List if Get_Transfer_List: HostFileTransfer(host, UNAME, PWORD, Get_Transfer_List, GET=True)