#NEWLINE# def get_voters_by_id( self , bug_id ) : #NEWLINE# #INDENT# result = list ( [ ] ) #NEWLINE# if self . check_table_exists ( 'votes' ) : #NEWLINE# #INDENT# cursor = self . sql_cnx . cursor ( ) #NEWLINE# who_row = 'who' #NEWLINE# request = ( 'SELECT %s FROM votes WHERE bug_id=%s' % ( who_row , str ( row ) ) ) #NEWLINE# cursor . execute ( request ) #NEWLINE# for row in cursor : #NEWLINE# #INDENT# result . append ( self . get_user_by_id ( row [ who_row ] ) ) #NEWLINE# #UNINDENT# #UNINDENT# return result