Author: Armin Rigo <[email protected]>
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,
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit