[pypy-commit] pypy default: change warning to error
fijal
noreply at buildbot.pypy.org
Sun May 19 11:41:16 CEST 2013
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch:
Changeset: r64312:af944c826862
Date: 2013-05-19 11:40 +0200
http://bitbucket.org/pypy/pypy/changeset/af944c826862/
Log: change warning to error
diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py
--- a/pypy/config/pypyoption.py
+++ b/pypy/config/pypyoption.py
@@ -121,12 +121,10 @@
__import__(name)
except (ImportError, CompilationError, py.test.skip.Exception), e:
errcls = e.__class__.__name__
- config.add_warning(
+ raise Exception(
"The module %r is disabled\n" % (modname,) +
"because importing %s raised %s\n" % (name, errcls) +
str(e))
- raise ConflictConfigError("--withmod-%s: %s" % (modname,
- errcls))
return validator
else:
return None
More information about the pypy-commit
mailing list