def get_proxy(self):
        """
        cycly generate the proxy server string
        """
        try:
            proxy = next(self.it_proxy)
            LOG.debug('fetched proxy : %s' % proxy)
            return proxy
        except __HOLE__:
            LOG.debug('.... re-iterating proxies')
            self.it_proxy = iter(self.proxies)
            proxy = next(self.it_proxy)
            LOG.debug('fetched proxy : %s' % proxy)
            return proxy
dataset/ETHPy150Open sk1418/zhuaxia/zhuaxia/proxypool.py/ProxyPool.get_proxy