Author: Amaury Forgeot d'Arc <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to