#NEWLINE# def db_change( self , lib , model ) : #NEWLINE# #INDENT# if ( self . _unmatched_playlists is None ) : #NEWLINE# #INDENT# self . build_queries ( ) #NEWLINE# #UNINDENT# for playlist in self . _unmatched_playlists : #NEWLINE# #INDENT# ( n , ( q , _ ) , ( a_q , _ ) ) = playlist #NEWLINE# if self . matches ( model , q , a_q ) : #NEWLINE# #INDENT# self . _log . debug ( '{0} will be updated because of {1}' , n , model ) #NEWLINE# self . _matched_playlists . add ( playlist ) #NEWLINE# self . register_listener ( 'cli_exit' , self . update_playlists ) #NEWLINE# #UNINDENT# #UNINDENT# self . _unmatched_playlists -= self . _matched_playlists