#NEWLINE# @ tracked_task #NEWLINE# def run_event_listener( listener , signal , kwargs ) : #NEWLINE# #INDENT# "\n    Actually run the listener\n\n    See fire_signal, which doesn't actually run it\n    " #NEWLINE# if ( not any ( ( ( l == _ ) for ( l , _ ) in current_app . config [ 'EVENT_LISTENERS' ] ) ) ) : #NEWLINE# #INDENT# raise SuspiciousOperation ( ( '%s is not a registered event listener' % ( listener , ) ) ) #NEWLINE# #UNINDENT# func = import_string ( listener ) #NEWLINE# func ( ** kwargs )