#NEWLINE# def parse_line( self , commit_dict , line , ignore = [ ] ) : #NEWLINE# #INDENT# attribute = self . try_fetch_attribute ( line , ignore = ignore ) #NEWLINE# if ( attribute == None ) : #NEWLINE# #INDENT# return commit_dict #NEWLINE# #UNINDENT# if ( attribute [ 0 ] == 'count' ) : #NEWLINE# #INDENT# commit_dict [ 'count' ] = ( commit_dict . get ( 'count' , 0 ) + attribute [ 1 ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# commit_dict [ attribute [ 0 ] ] = attribute [ 1 ] #NEWLINE# #UNINDENT# return commit_dict