Commits

Anonymous committed fac030f

cmd -> self.cmd in SSHJobMan.__init__

The wrapper in main only worked due to accidental name collision.

Comments (0)

Files changed (1)

             self.results[key] = {   # Placeholder  + start time
               'Job:': host,
               'Start': time() }
-            proc = Popen(self.ssh + self.ssh_args + [host] + [cmd], 
+            proc = Popen(self.ssh + self.ssh_args + [host] + [self.cmd], 
 	             stdout=PIPE,stderr=PIPE, close_fds=True)
             self.pool[key] = (host, proc, time()) # start time for timeouts
             debug('... added job %s' % key)