def load_class(self, classname):
module_list = self._get_module_list()<EOL>for module in module_list:<EOL><INDENT>try:<EOL><INDENT>return import_class(classname, module.__name__)<EOL><DEDENT>except (AttributeError, ImportError):<EOL><INDENT>pass<EOL><DEDENT><DEDENT>raise ImportError("<STR_LIT>".format(classname))<EOL>
Loads a class looking for it in each module registered.

:param classname: Class name you want to load.
:type classname: str
:return: Class object
:rtype: type