#NEWLINE# def process( self , obj , meta ) : #NEWLINE# #INDENT# banner = meta [ 'banner' ] #NEWLINE# if self . manufact_re . search ( banner ) : #NEWLINE# #INDENT# meta . global_metadata . device_type = Type . DSL_MODEM #NEWLINE# meta . global_metadata . manufacturer = Manufacturer . FULLRATE #NEWLINE# version = self . ftp_version_re . search ( banner ) #NEWLINE# if version : #NEWLINE# #INDENT# meta . local_metadata . version = version . group ( 1 ) #NEWLINE# #UNINDENT# #UNINDENT# return meta