[pypy-commit] pypy stm: Oups.

arigo noreply at buildbot.pypy.org
Sun Jan 22 11:29:32 CET 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: stm
Changeset: r51632:4ae4d737bd18
Date: 2012-01-22 11:16 +0100
http://bitbucket.org/pypy/pypy/changeset/4ae4d737bd18/

Log:	Oups.

diff --git a/pypy/module/transaction/interp_transaction.py b/pypy/module/transaction/interp_transaction.py
--- a/pypy/module/transaction/interp_transaction.py
+++ b/pypy/module/transaction/interp_transaction.py
@@ -94,7 +94,7 @@
     @staticmethod
     def _run_in_transaction(pending, retry_counter):
         if retry_counter > 0:
-            self.register()   # retrying: will be done later, try others first
+            pending.register() # retrying: will be done later, try others first
             return
         if state.got_exception is not None:
             return   # return early if there is already a 'got_exception'


More information about the pypy-commit mailing list