def __init__(self, destination, params): self.sshpath = params['ssh_path'] self.user = params['user'] self.timeout = 10 if params.has_key('timeout'): self.timeout = params['timeout'] RemoteCommand.__init__(self, destination, params)
def __init__(self, destination, params): self.rshpath = params['rsh_path'] self.user = params['user'] RemoteCommand.__init__(self, destination, params) self.delim = md5.md5(str(random.random())).hexdigest()
def __init__(self, destination, params): self.sshpath = params['ssh_path'] self.user = params['user'] RemoteCommand.__init__(self, destination, params)