#NEWLINE# def get_rows( self ) : #NEWLINE# #INDENT# 'Return the row data for this table broken out by columns.' #NEWLINE# rows = [ ] #NEWLINE# try : #NEWLINE# #INDENT# for datum in self . filtered_data : #NEWLINE# #INDENT# row = self . _meta . row_class ( self , datum ) #NEWLINE# if ( self . get_object_id ( datum ) == self . current_item_id ) : #NEWLINE# #INDENT# self . selected = True #NEWLINE# row . classes . append ( 'current_selected' ) #NEWLINE# #UNINDENT# rows . append ( row ) #NEWLINE# #UNINDENT# #UNINDENT# except Exception : #NEWLINE# #INDENT# LOG . exception ( 'Error while rendering table rows.' ) #NEWLINE# exc_info = sys . exc_info ( ) #NEWLINE# raise six . reraise ( template . TemplateSyntaxError , exc_info [ 1 ] , exc_info [ 2 ] ) #NEWLINE# #UNINDENT# return rows