#NEWLINE# def get_proxy( self ) : #NEWLINE# #INDENT# '\n        cycly generate the proxy server string\n        ' #NEWLINE# try : #NEWLINE# #INDENT# proxy = next ( self . it_proxy ) #NEWLINE# LOG . debug ( ( 'fetched proxy : %s' % proxy ) ) #NEWLINE# return proxy #NEWLINE# #UNINDENT# except StopIteration : #NEWLINE# #INDENT# LOG . debug ( '.... re-iterating proxies' ) #NEWLINE# self . it_proxy = iter ( self . proxies ) #NEWLINE# proxy = next ( self . it_proxy ) #NEWLINE# LOG . debug ( ( 'fetched proxy : %s' % proxy ) ) #NEWLINE# return self