[pypy-commit] pypy stm-thread-2: Fix this import.

arigo noreply at buildbot.pypy.org
Sat Feb 16 10:55:00 CET 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: stm-thread-2
Changeset: r61313:e1fb39f86281
Date: 2013-02-16 10:55 +0100
http://bitbucket.org/pypy/pypy/changeset/e1fb39f86281/

Log:	Fix this import.

diff --git a/lib_pypy/transaction.py b/lib_pypy/transaction.py
--- a/lib_pypy/transaction.py
+++ b/lib_pypy/transaction.py
@@ -15,7 +15,7 @@
 import sys, thread, collections
 
 try:
-    from thread import atomic
+    from __pypy__.thread import atomic
 except ImportError:
     # Not a STM-enabled PyPy.  We can still provide a version of 'atomic'
     # that is good enough for our purposes.  With this limited version,


More information about the pypy-commit mailing list