示例#1
0
文件: client.py 项目: pombreda/seine
 def query(self, domain):
     data = WhoisData(domain)
     data.query(self.cache.query(domain))
     try:
         self.cache.save()
     except WhoisError, emsg:
         logger.debug(emsg)
         pass
示例#2
0
文件: client.py 项目: hile/seine
    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