#NEWLINE# def __read_page( self , line ) : #NEWLINE# #INDENT# found = self . page_re . match ( line ) #NEWLINE# if ( not found ) : #NEWLINE# #INDENT# raise Exception ( ( 'Page information espected, found: ' + page_index ) ) #NEWLINE# #UNINDENT# page_index = int ( found . group ( 1 ) ) #NEWLINE# page_file = ( self . texture_prefix + found . group ( 2 ) ) #NEWLINE# self . texture_pages [ page_index ] = page_file #NEWLINE# LOG . info ( 'texture page: %s' , page_file )