John:
There were also a lot of unused imports in auto_install.py according to
pylint and it will be nice if they can be fixed.
http://indiana-build.us.oracle.com/job/slim_code_cleanliness/Pylint_Audit/?
Mainly it is W0611 and the following imports are unused:
Unused import boot
Unused import device_config
Unused import boot_archive
Unused import instantiation
Unused import initialize_smf
Unused import transfer_files
Unused import apply_sysconfig
Unused import INSTALL
Unused import update_dumpadm
Unused import DataObject
Unused import discovery
Unused import varshared
Unused import setup_swap
Unused import create_snapshot
Unused import TargetSelectionZone
On 03/02/12 11:28, Mary Ding wrote:
John:
My comments are just nits:
In auto_install.py, if you use pylint 0.23, it will complain about the
following lines:
import os
import os.path
W0404 Reimport 'os.path' (imported line 10)
It will be good if you can fix it.
On 03/01/12 17:37, John Fischer wrote:
All,
Can I get a code review for:
7097012 AI should output to /dev/console as well as
/system/volatile/install_log
http://monaco.us.oracle.com/detail.jsf?cr=7097012
The webrev is located at:
https://cr.opensolaris.org/action/browse/caiman/johnfisc/7097012-AI-output-console/
The basic fix is to have all checkpoints produce output. This is
done by passing in
a kwargs show_output to engine.register_checkpoint(). In addition to
this fix I have
cleaned up the output for AI changing several things from debug to
info and visa versa.
Furthermore, there was some duplicate output during the early stages
due to fractional
percents. This was fixed by saving the previous non-time progress
and comparing it
with the current non-time progress.
I have built an AI iso image using distro_const, setup and installed
a new host. Ethan
checked on a zones setup. I also ran the test suite. All testing
was as expected. The
code is pep8 and pylint clean, improved or unchanged.
Thanks,
John
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss