#NEWLINE# def __call__( self , event ) : #NEWLINE# #INDENT# app = event . target #NEWLINE# if isinstance ( app , applications . Http ) : #NEWLINE# #INDENT# debug_config = app . config [ 'debug' ] #NEWLINE# if ( debug_config [ 'enabled' ] and debug_config . get ( 'toolbar' ) ) : #NEWLINE# #INDENT# toolbar = Toolbar ( app . config [ 'debug' ] , app , self . container . get ( 'jinja2_renderer' ) ) #NEWLINE# toolbar . register_listeners ( ) #NEWLINE# return toolbar