Exemple #1
0
 def query(self, domain):
     data = WhoisData(domain)
     data.query(self.cache.query(domain))
     try:
         self.cache.save()
     except WhoisError, emsg:
         logger.debug(emsg)
         pass
Exemple #2
0
    def query(self, domain):
        data = WhoisData(domain)
        data.query(self.cache.query(domain))
        try:
            self.cache.save()
        except WhoisError as e:
            logger.debug(e)
            pass

        return data