* Tim Knitter <[EMAIL PROTECTED]> [2008-04-02 20:33]:
> 
> 
> [EMAIL PROTECTED] wrote:
> >I looked at this code some more and re-thought some of my advice.
> >
> >There's another problem lurking.  If your code chooses not to import
> >libbe in bootenv.py, any calls to the BootEnv class will fail with a
> >naming error as soon as you try to call functions from lg.  For example,
> >the BootEnv constructor calls lg.beList(); however, if you've not imported
> >the lg module, you'll get a NameError.
> 
> True however it is caught in the exception after the failed attempt to do a 
> lg.beList() and processing continues without error.

  (Peripheral nit.)  If you're not using the "_glue" naming, then I
  think your import should be "import ___ as be", and not as lg.
  
  - Stephen

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

Reply via email to