#NEWLINE# def process( self , output ) : #NEWLINE# #INDENT# data = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for line in output : #NEWLINE# #INDENT# for ( key , regex ) in six . iteritems ( value . _regexes ) : #NEWLINE# #INDENT# matches = re . match ( regex , line ) #NEWLINE# if matches : #NEWLINE# #INDENT# value = matches . group ( 1 ) #NEWLINE# data [ key ] = value #NEWLINE# break #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return data