On Tue, Dec 15, 2009 at 04:43:07PM -0600, Shawn Walker wrote:
> full updated webrev:
> http://cr.opensolaris.org/~swalker/pkg-license-2/

imageplan.py:

  - line 516: Is this variable unused?

  - line 691: You're not really prefetching this information, since you
    know you need it.  You're just downloading the licenses in a
    separate step from the files.

actions/license.py:

  - lines 137-160:  The transport should already create an opener for files
    that it has successfully downloaded using the MFile interface.  This
    code should be simplified to check if the action's data attribute
    exists and is callable.  If it is, then that's the opener this call
    should return.  Otherwise, the license has already been installed
    and you can create a local opener.

    I would avoid using the remote_opener under any circumstances, since
    it is not robust and can cause the client to fail from a variety of
    transport errors.

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

Reply via email to