From 6af074f31e663bc5f13155e699f1e1d3ca4e72d6 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Thu, 23 Jul 2015 19:01:36 +0200 Subject: Make 'module not found' an error Before a typo in a module name was a warning. It now is an error because it is potentially harmful. [ci skip] --- configure.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.py') diff --git a/configure.py b/configure.py index d90f347ab..d9f1c9e89 100755 --- a/configure.py +++ b/configure.py @@ -1388,11 +1388,11 @@ def choose_modules_to_use(modules, archinfo, ccinfo, options): for modname in options.enabled_modules: if modname not in modules: - logging.warning("Unknown enabled module %s" % (modname)) + logging.error("Module not found: %s" % (modname)) for modname in options.disabled_modules: if modname not in modules: - logging.warning("Unknown disabled module %s" % (modname)) + logging.warning("Disabled module not found: %s" % (modname)) for (modname, module) in modules.items(): if modname in options.disabled_modules: -- cgit v1.2.3