#NEWLINE# def __init__( self , record = None ) : #NEWLINE# #INDENT# Record . __init__ ( self , 'application/vnd.bluetooth.ep.oob' ) #NEWLINE# self . device_address = '00:00:00:00:00:00' #NEWLINE# self . eir = dict ( ) #NEWLINE# if ( record is not None ) : #NEWLINE# #INDENT# if ( not ( record . type == self . type ) ) : #NEWLINE# #INDENT# raise ValueError ( 'record type mismatch' ) #NEWLINE# #UNINDENT# self . name = record . name #NEWLINE# self . data = record . data