Author: Manuel Jacob
Branch: remove-remaining-smm
Changeset: r69365:ddff94c8e8e3
Date: 2014-02-24 21:33 +0100
http://bitbucket.org/pypy/pypy/changeset/ddff94c8e8e3/

Log:    Revert one more use of oefmt with non-constant message.

diff --git a/pypy/objspace/std/typeobject.py b/pypy/objspace/std/typeobject.py
--- a/pypy/objspace/std/typeobject.py
+++ b/pypy/objspace/std/typeobject.py
@@ -1194,5 +1194,5 @@
     cycle.append(candidate)
     cycle.reverse()
     names = [cls.getname(space) for cls in cycle]
-    raise oefmt(space.w_TypeError,
-                "cycle among base classes: " + ' < '.join(names))
+    raise OperationError(space.w_TypeError, space.wrap(
+        "cycle among base classes: " + ' < '.join(names)))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to