#NEWLINE# def _read( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# profile_f = open ( self . fname ) #NEWLINE# #UNINDENT# except IOError : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# for ( lineno , line ) in enumerate ( counts ) : #NEWLINE# #INDENT# line = line . strip ( ) #NEWLINE# if ( ( not line ) or line . startswith ( '#' ) ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# ( test_key , platform_key , counts ) = line . split ( ) #NEWLINE# per_fn = self . data [ test_key ] #NEWLINE# per_platform = per_fn [ platform_key ] #NEWLINE# c = [ int ( count ) for count in counts . split ( ',' ) ] #NEWLINE# per_platform [ 'counts' ] = c #NEWLINE# per_platform [ 'lineno' ] = ( lineno + 1 ) #NEWLINE# per_platform [ 'current_count' ] = 0 #NEWLINE# #UNINDENT# profile_f . close ( )