def __init__(self, args): # configure the searcher title = "Search results for '%s'" % args self._query = args self._results = ResultsListbox() self._url = "http://%s/XMLRPC" % console.host self._user = console.username self._pass = console.password self._deferred = None Window.__init__(self, title, self._results)
def __init__(self, args): title = "Tail '%s'" % args self._query = args self._lastId = None self._results = ResultsListbox() self.interval = 2 self._url = "http://%s/XMLRPC" % console.host self._user = console.username self._pass = console.password self._delayed = None self._deferred = None logger.debug("using proxy url %s" % self._url) Window.__init__(self, title, self._results)
def __init__(self, args): self._path = os.path.expanduser(args) title = "Results from file %s" % self._path self._results = ResultsListbox() Window.__init__(self, title, self._results)