#NEWLINE# def _extend_flavors( self , req , flavors ) : #NEWLINE# #INDENT# for flavor in flavors : #NEWLINE# #INDENT# db_flavor = req . get_db_flavor ( flavor [ 'id' ] ) #NEWLINE# key = 'swap' #NEWLINE# flavor [ key ] = ( db_flavor [ 'swap' ] or '' )