Fix several problems for such a tiny patch:
Fix several problems for such a tiny patch:

-- try/except is *way* too aggressive at catching exceptions, and can
   hide things that you really want to see. In general, a bare
   'except:' should *never* be used. Certainly not to catch a simple
   case where 'nonlibs' was not defined by a section. There is a
   ConfigParser exception for that. But even that is wrong because it
   doesn't follow the pattern defined by this code.

-- Put a default value for 'nonlibs' into the _cfg_defaults
   dictionary. This prevents error throwing when trying to fetch the
   value and it hasn't been defined.

-- Fix the indentation to match local style.

So...

* build/generator/gen_base.py:
  (Generator.__init__): fix usage of 'nonlibs'
  (_cfg_defaults): add default for 'nonlibs'


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@846457 13f79535-47bb-0310-9956-ffa450edef68

wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion