def _map_oids(oids):
 new_oids = set()
 for oid in oids:
  if (oid in _oid_map):
   new_oids |= _oid_map[oid]
 return (oids | new_oids)

def _map_oids ( oids ) : new_oids = set ( ) for oid in oids : if ( oid in _oid_map ) : new_oids |= _oid_map [ oid ] return ( oids | new_oids )
takes a set of unicode string oids and converts vendor-specific oids into generics oids from rfcs .