#NEWLINE# def get_indexes( self , default_indexes = None ) : #NEWLINE# #INDENT# 'Returns the list of indexes to act on based on ES_INDEXES setting\n\n        ' #NEWLINE# doctype = self . type . get_mapping_type_name ( ) #NEWLINE# indexes = ( settings . ES_INDEXES . get ( doctype ) or settings . ES_INDEXES [ 'default' ] ) #NEWLINE# if isinstance ( indexes , six . string_types ) : #NEWLINE# #INDENT# indexes = [ indexes ] #NEWLINE# #UNINDENT# return super ( S , self ) . get_indexes ( default_indexes = indexes )