#NEWLINE# @ defer . inlineCallbacks #NEWLINE# def _refresh_pusher( self , app_id , pushkey , user_id ) : #NEWLINE# #INDENT# resultlist = ( yield self . store . get_pushers_by_app_id_and_pushkey ( r , pushkey ) ) #NEWLINE# p = None #NEWLINE# for r in resultlist : #NEWLINE# #INDENT# if ( r [ 'user_name' ] == user_id ) : #NEWLINE# #INDENT# p = r #NEWLINE# #UNINDENT# #UNINDENT# if p : #NEWLINE# #INDENT# self . _start_pushers ( [ p ] )