#NEWLINE# def resolve_family( self , family ) : #NEWLINE# #INDENT# msg = CtrlMessage ( 'getfamily' , flags = MessageFlags . REQUEST ) #NEWLINE# msg . get_attr_list ( ) . set ( 'family_name' , family ) #NEWLINE# reply = self . query ( family ) [ 0 ] #NEWLINE# return reply . get_attr_list ( ) . get ( 'family_id' )