def get(self, key, key_prefix = None):
        key = (key_prefix, key)
        val = dict.get(self, key, None)
        if val is None:
            return None

        (val, expires) = val
        if expires is None:
            return val

        if pytime.time() > expires:
            del self[key]
            return None

        return val
dataset/ETHPy150Open sassoftware/conary/conary/repository/netrepos/cache.py/DumbCache.get/original