cobbler/cobbler — pull request #342 by abadger (2012-10-24 06:31:57+00:00)
Title: Change how load_modules behaves if a module raises an exception.  

Currently if load_module encounters an exception in a module that it's attempting to load, it will cause cobbler to traceback. This branch changes that so that exceptions raised while loading a module will be caught and logged (and the module will not be loaded).

This branch also contains a commit to only attempt to load a module once. Previously, the code might attempt to load the module up to three times if a the module had a .py, .pyc, and .pyo file.