Hi Dave,

Quick follow up on one point:
> 
> boot.py:
> 58ff: Why not just import these from distro_const?
> 

distro_const.DC_LABEL and DC_PERS_LABEL can't be imported directly from the top 
of the boot.py module as it creates a circular dependency (distro_const also 
needs to import BootMods from boot.py).
The way to avoid this to import it under the__init__() method of 
ISOImageBootMenu which requires DC_LABEL and DC_PERS_LABEL, otherwise the 
python interpreter gets an import error.

Niall
-- 
This message posted from opensolaris.org
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to