Author: Armin Rigo <[email protected]>
Branch: stmgc-c8
Changeset: r78180:bd18b5f3edec
Date: 2015-06-18 14:30 +0100
http://bitbucket.org/pypy/pypy/changeset/bd18b5f3edec/

Log:    translation fix

diff --git a/pypy/module/pypystm/queue.py b/pypy/module/pypystm/queue.py
--- a/pypy/module/pypystm/queue.py
+++ b/pypy/module/pypystm/queue.py
@@ -75,8 +75,9 @@
         """
         res = self.q.join()
         if res != 0:
-            raise oefmt('task_done() called too many times (%d more than '
-                        'there were items placed in the queue)', -res)
+            raise oefmt(space.w_ValueError,
+                'task_done() called too many times '
+                '(%d more than there were items placed in the queue)', -res)
 
 
 def W_Queue___new__(space, w_subtype):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to