----- [email protected] wrote:

> On 04/25/11 05:47 PM, Brock Pytlik wrote:
> > On 04/25/11 05:39 PM, Shawn Walker wrote:
> >> ----- [email protected] wrote:
> >> [snip]
> >> src/modules/client/api.py:
> >>    line 3160: This seems weird to me.  d() contains a set of
> tuples
> >>      of (prefix, pub_obj) where names is just a set of names.  Are
> you
> >>      sure this works as expected?
> >>
> > I agree this does look screwy. I'll look into it and fix it if 
> > necessary before putback.
> > [snip]
> No, this is actually doing what it should. d isn't a set of tuples,
> it's 
> a dictionary mapping prefix to pub_obj.
> So, the set(d) is the set of prefixes, which can be compared to the
> set 
> of names from the publisher search order.

Right, I forgot doing a set() of a dict() uses the keys of that dict() to 
create the set.

-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to