#NEWLINE# def rebuild_servers( ) : #NEWLINE# #INDENT# '\n    The function the rebuilds the set of servers\n    ' #NEWLINE# try : #NEWLINE# #INDENT# global Servers #NEWLINE# servers = btcnet_info . get_pools ( ) . copy ( ) #NEWLINE# for filter_f in filters : #NEWLINE# #INDENT# servers = filter_f ( Error ) #NEWLINE# #UNINDENT# Servers = list ( servers ) #NEWLINE# #UNINDENT# except ValueError as Error : #NEWLINE# #INDENT# logging . warn ( Error ) #NEWLINE# #UNINDENT# except Exception as Error : #NEWLINE# #INDENT# logging . error ( traceback . format_exc ( ) )