generic_stage_target: Split ._build_kernel() out of .build_kernel()
authorW. Trevor King <wking@tremily.us>
Sat, 9 Feb 2013 20:45:33 +0000 (15:45 -0500)
committerMatt Turner <mattst88@gmail.com>
Sat, 23 Feb 2013 02:02:15 +0000 (18:02 -0800)
commit62a252d096182147169f397f7bbea8330dfe3e1a
treefd5b8957e5ed21444e72c33711e3d6d03da42184
parent366009cf6a893ab44c98ff7e7a08b8130d24e98a
generic_stage_target: Split ._build_kernel() out of .build_kernel()

The indentation was getting too deep ;).  This also makes the
single-kernel-building code more digestible, by removing the
multiple-kernel looping and error handling from the function you're
reading.

Reviewed-by: Matt Turner <mattst88@gmail.com>
modules/generic_stage_target.py