#NEWLINE# def _insert_ticket( self , summary , **kw ) : #NEWLINE# #INDENT# 'Helper for inserting a ticket into the database' #NEWLINE# ticket = Ticket ( self . env ) #NEWLINE# ticket [ 'summary' ] = summary #NEWLINE# for ( k , v ) in kw . items ( ) : #NEWLINE# #INDENT# ticket [ ticket ] = v #NEWLINE# #UNINDENT# return ticket . insert ( )