[pypy-commit] pypy py3k: Try to fix translation

amauryfa noreply at buildbot.pypy.org
Sat Dec 17 23:15:07 CET 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3k
Changeset: r50646:c0d4b0fdc8f1
Date: 2011-12-17 23:14 +0100
http://bitbucket.org/pypy/pypy/changeset/c0d4b0fdc8f1/

Log:	Try to fix translation

diff --git a/pypy/module/bz2/app_bz2file.py b/pypy/module/bz2/app_bz2file.py
--- a/pypy/module/bz2/app_bz2file.py
+++ b/pypy/module/bz2/app_bz2file.py
@@ -4,7 +4,6 @@
 """
 
 import io
-import threading
 
 from bz2 import BZ2Compressor, BZ2Decompressor
 
@@ -46,6 +45,7 @@
         """
         # This lock must be recursive, so that BufferedIOBase's
         # readline(), readlines() and writelines() don't deadlock.
+        import threading
         self._lock = threading.RLock()
         self._fp = None
         self._closefp = False


More information about the pypy-commit mailing list