def __init__(self, address, installation_method): self.ssh = Connection(address) self.executables = [ 'trash-put', 'trash-list', 'trash-rm', 'trash-empty', 'trash-restore', 'trash' ] self.tarball = "trash-cli-%s.tar.gz" % version self.installation_method = installation_method
def __init__(self): self.ssh = Connection(TARGET_HOST)