Danek Duvall wrote: > On Tue, Apr 08, 2008 at 06:03:06PM -0700, Manpreet Singh wrote: > >> This small check could have saved me some time/frustration today while >> trying to use >> >> pkg.client.image.Image.local_search() >> >> Might be useful in case someone else stumbles on it later. It makes sure >> that the args is an array, and not a single string, which the code using >> it assumes. > > How did you get a string passed in? >
On UC 2.0 I was trying to use the API directly. Granted it won't happen from pkg itself. -manpreet -- Oh look, my brain just exploded! Cool idea, though. -- Carl Rigney > Danek > _______________________________________________ > pkg-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/pkg-discuss _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
