#NEWLINE# def create_indexes( self , colname , ncolname , extracolname ) : #NEWLINE# #INDENT# if ( not self . indexed ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# kind = self . kind #NEWLINE# vprint ( ( '* Indexing ``%s`` columns. Type: %s.' % ( colname , self ) ) ) #NEWLINE# for acolname in [ colname , ncolname , extracolname ] : #NEWLINE# #INDENT# acolumn = self . table . colinstances [ acolname ] #NEWLINE# acolumn . create_index ( kind = self . kind , optlevel = self . optlevel , _blocksizes = small_blocksizes , _testmode = True ) #NEWLINE# #UNINDENT# #UNINDENT# except TypeError as te : #NEWLINE# #INDENT# if self . colNotIndexable_re . search ( str ( te ) ) : #NEWLINE# #INDENT# raise SilentlySkipTest ( 'Columns of this type can not be indexed.' ) #NEWLINE# #UNINDENT# raise #NEWLINE# #UNINDENT# except NotImplementedError : #NEWLINE# #INDENT# raise SilentlySkipTest ( 'Indexing columns of this type is not supported yet.' )