#NEWLINE# def _get_filters( ) : #NEWLINE# #INDENT# from nova.scheduler import filters #NEWLINE# def get_itm( nm ) : #NEWLINE# #INDENT# return getattr ( filters , nm ) #NEWLINE# #UNINDENT# return [ get_itm ( itm ) for itm in dir ( filters ) if ( ( type ( get_itm ( itm ) ) is types . TypeType ) and issubclass ( get_itm ( itm ) , filters . AbstractHostFilter ) and ( get_itm ( itm ) is not filters . AbstractHostFilter ) ) ]