#NEWLINE# def _get_dhcp_message_type_opt( self , dhcp_packet ) : #NEWLINE# #INDENT# for opt in self . options . option_list : #NEWLINE# #INDENT# if ( opt . tag == dhcp . DHCP_MESSAGE_TYPE_OPT ) : #NEWLINE# #INDENT# return ord ( opt . value )