Keith,

A couple of issues:

        line 194 -- raises ti_utils.InstallationErrorer
                    probably should be ti_utils.InstallationError
                    like others

        lines 482 - 487 -- uses a finally.  Is there any possibility
                    that an exception will be raised from the run_ICTs()
                    and lost if finally is run?  Or am I misunderstanding
                    the Python 2.6 documentation (which very well could be the 
case)?

        line 515 -- why not use os.path.join() instead of using +
                    to create a path


Nits:

        The comments for the class and function introductions
        could be a little more verbose.

        The comments at lines 493-496 do not seem to match the other
        function comments stylistically.

         493     '''Do final cleanup to prep system for first boot, such as 
resetting
         494     the ZFS dataset mountpoints
         495
         496     '''

        verses:

         314     '''Call libtransfer to transfer the bits to the system via 
cpio.'''


Interesting/handy:

        " ".join(cmd)

Thanks,

John

On 02/11/10 03:41 PM, Keith Mitchell wrote:
> Hi all,
>
> I'd like to request a code review of my changes for bug 14180.
>
> Bugzilla link: http://defect.opensolaris.org/bz/show_bug.cgi?id=14180
>
> webrev: http://cr.opensolaris.org/~kemitche/14180/
>
> I tested the changes by using a modified keyboard_layout ICT that always
> failed, and verified that the installer cleans up properly upon completion.
>
> This webrev also includes a minor change to the README in the text
> installer gate; this issue has no associated bugzilla bug, but I can
> file one if needed.
>
> - Keith
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to