Shawn Walker wrote:
lines 142-148: why not just reuse catalog.cache_fmri() here? It will take care of the version sorting for you, and the structure it provides makes lookups fast. Just call read_catalog and pass it a dict for the first argument. You'll get back a pretty structure with everything you appear to need.
I left this alone for now; it's less code. Webrev is updated; tool now does matching, and will (optionally) include all versions (-v) or all timestamps (-t) that the command lines args match; the default is to only include the latest matching package. - Bart -- Bart Smaalders Solaris Kernel Performance [email protected] http://blogs.sun.com/barts "You will contribute more with mercurial than with thunderbird." _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
