On Wed 24 Jun 2009 at 05:40PM, [email protected] wrote:
> Can you clarify whether you mean that __str__() should do the
> formatting, or that dump() should continue to do the formatting, but it
> should get the data as a string from __str__()? If it's the latter, I'm not
> certain I understand how to do this. I didn't think there was much
> opportunity for further formatting once __str__ returned us a string?
I was thinking that dump would print str(self).
> The difference is subtle. Shawn asked me to include a comment about
> this, so I've added a docstring to the class that outlines the
> difference. Essentially, I'm passing scfg to the Catalog and UpdateLog
> (nasty versions) so they can roll the dice to decide when to be mean.
Ok, the comment will help :)
> > t_api_search.py: I take it 'sleep(1)' is to ensure unique
> > timestamps?
>
> Yes, apparently my new workstation is so fast, that it can send the
> packages before time advances. Pretty neat, eh?
Ok-- this is something we should fix in pkgsend_bulk. Can you
at least file a bug against the suite?
-dp
--
Daniel Price, Solaris Kernel Engineering http://blogs.sun.com/dp
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss