def cacheResult(self, query, payload):
        if 1 > self.verbose:
            log.msg('Adding %r to cache' % query)

        self.cache[query] = (time.time(), payload)

        if self.cancel.has_key(query):
            self.cancel[query].cancel()

        s = list(payload[0]) + list(payload[1]) + list(payload[2])
        m = s[0].ttl
        for r in s:
            m = min(m, r.ttl)

        from twisted.internet import reactor
        self.cancel[query] = reactor.callLater(m, self.clearEntry, query)
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/names/cache.py/CacheResolver.cacheResult/swapped operands of `>`