home *** CD-ROM | disk | FTP | other *** search
- #
- # regress module
- #
-
- import ff
- import js
- import event
-
- class Regression:
- def __init__(self):
- self.cmdList = []
-
- def init(self, cmds):
- self.cmdList = cmds
- for cmd, arg1, arg2, timeout in self.cmdList:
- js.Command_AddFuture(cmd, timeout, arg1, arg2)
- print "command %d (%s, %s) @ %f" % (cmd, arg1, arg2, timeout)
-
- RegressionMgr = Regression()
-
- def init(cmds):
- RegressionMgr.init(cmds)
-
-
-