On Wed, Mar 11, 2009 at 02:57:43PM -0700, Brock Pytlik wrote:

>>     >>> a = pkg.actions.fromstr("dir path=usr/bin    ")
>>     >>> a.attrs["path"]
>>     'usr/bin'
>>     >>> 
>> How do you create the example?
>>   
> It's not spaces, it's a newline. Try your example again with a "\n" tacked 
> onto the end of the string.

Dammit.  That's a bug in the action parsing, I think.  I'll take another
look at it, probably after 2009.06.

> That's correct. For now, we lose observability when the client does a 
> multi-query search. If this is an issue, I think we can reexamine it. Since 
> this was mostly designed for publishing (or possibly other programmatic use 
> though what I can't think of right now), I thought this was an ok tradeoff 
> to make.

Sure, fine for now.

> Does that make it clearer why I did things the way I did? The iteration 
> over res_list is iterating over queries. The iteration over res is 
> iterating over the results for that query.

Yes, thanks.

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

Reply via email to