On Wed 08 Oct 2008 at 10:30AM, Shawn Walker wrote:
> Dan Price wrote:
> >Folks,
> >
> >I have the following fixes for you to review:
> >
> >3777 PKG_TIMEOUT_MAX is a placebo setting
> >3778 We can be more informative and accurate when timeouts happen
> >3779 Some KeyboardInterrupt exception handling can be cleaner
> >
> >http://cr.opensolaris.org/~dp/pkg-timeout
> 
> General concerns:
> How are we going to deal with localisation of messages that are 
> generated within our apis instead of from client.py?  I'm not asking you 
> to address that in this patch, but a general idea would be nice.
> 
> client.py:
>   line 1959: The str() around 'e' isn't needed given the '%s' construct?

Fixed.  Also fixed 'e' to be '__e'.

> misc.py:
>   line 424: what about having global_settings in pkg.client instead? 
> it would seem a better home than "misc" for something central to the client.

Ignore some of my previous mail, at least.  I found that moving this
into pkg.client was not too bad.

>   line 425: A docstring for the class would be nice here.

Done.

>   line 442: s/in this case/in this case,/

Done

>   line 449: Maybe an assert here to verify that exceptions, as passed 
> in, is actually a list?  That or just remove the ability to specify this 
> as a parameter since we don't seem to use it anywhere.

Done

        -dp

-- 
Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to