def _parse_module_cfgs(self):
<EOL>if "<STR_LIT>" not in self._conf or self._conf["<STR_LIT>"] is None:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>if "<STR_LIT>" not in self._conf or self._conf["<STR_LIT>"] is None:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>self._conf.setdefault('<STR_LIT>', None)  <EOL>if '<STR_LIT>' in self._conf and self._conf['<STR_LIT>']:<EOL><INDENT>for module_id, module_cfg in [(key, value) for key, value in list(self._conf['<STR_LIT>'].items()) if ("<STR_LIT>" not in value or ("<STR_LIT>" in value and value["<STR_LIT>"] is True))]:<EOL><INDENT>if "<STR_LIT>" in module_id:<EOL><INDENT>raise ValueError('<STR_LIT>' % module_id)<EOL><DEDENT>if "<STR_LIT>" not in module_cfg or module_cfg["<STR_LIT>"] is None:<EOL><INDENT>raise ValueError('<STR_LIT>' % module_id)<EOL><DEDENT>if module_cfg["<STR_LIT>"] in fe_flavors:<EOL><INDENT>for driver_name in _reserved_driver_names:<EOL><INDENT>if driver_name == "<STR_LIT>":<EOL><INDENT>module_cfg.setdefault('<STR_LIT>', None)<EOL>continue<EOL><DEDENT>if driver_name not in module_cfg or module_cfg[driver_name] is None:<EOL><INDENT>raise ValueError('<STR_LIT>' % (driver_name, module_id))<EOL><DEDENT><DEDENT>if "<STR_LIT>" not in module_cfg or module_cfg["<STR_LIT>"] is None:<EOL><INDENT>raise ValueError('<STR_LIT>' % module_id)<EOL><DEDENT>if "<STR_LIT>" not in module_cfg or module_cfg["<STR_LIT>"] is None:<EOL><INDENT>raise ValueError('<STR_LIT>' % module_id)<EOL><DEDENT>if "<STR_LIT>" not in module_cfg:<EOL><INDENT>raise ValueError('<STR_LIT>' % module_id)<EOL><DEDENT>module_cfg.setdefault("<STR_LIT>", None)<EOL>module_cfg.setdefault("<STR_LIT>", None)  <EOL>module_cfg.setdefault("<STR_LIT>", None)  <EOL>module_cfg.setdefault("<STR_LIT>", True)  <EOL>self._module_cfgs[module_id] = module_cfg<EOL>self._modules[module_id] = [module_id]<EOL><DEDENT><DEDENT><DEDENT>else:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>
Extracts the configuration of the modules.