#NEWLINE# def apps_started( self ) : #NEWLINE# #INDENT# lines = self . read ( ) #NEWLINE# apps = list ( ) #NEWLINE# for ( cmd , action ) in lines : #NEWLINE# #INDENT# if ( ( cmd == AP_STARTED ) and len ( action ) ) : #NEWLINE# #INDENT# entry = json . loads ( action ) #NEWLINE# if ( type ( entry ) is dict ) : #NEWLINE# #INDENT# apps . append ( ( entry . get ( 'name' ) , entry . get ( 'trace_fn' ) , entry . get ( 'how' ) ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return apps