def __init__(self, session, *args, **kwargs): LookupHandler.__init__(self, session, *args, **kwargs) Search.__init__(self, session) global GLOBAL_KEY_CACHE self.key_cache = GLOBAL_KEY_CACHE _PRUNE_GLOBAL_KEY_CACHE()
def __init__(self, session, *args, **kwargs): LookupHandler.__init__(self, session, *args, **kwargs) Search.__init__(self, session) global GLOBAL_KEY_CACHE if len(GLOBAL_KEY_CACHE) > 50: GLOBAL_KEY_CACHE = {} self.key_cache = GLOBAL_KEY_CACHE
def __init__(self, *args, **kwargs): LookupHandler.__init__(self, *args, **kwargs) if not DNS: return DNS.ParseResolvConf() self.req = DNS.Request(qtype="TXT")
def __init__(self, *args, **kwargs): LookupHandler.__init__(self, *args, **kwargs) self.key_cache = {}
def __init__(self, *args, **kwargs): LookupHandler.__init__(self, *args, **kwargs) self.key_cache = { }
def __init__(self, session): Search.__init__(self, session) LookupHandler.__init__(self, session)