[pypy-svn] r31110 - pypy/dist/pypy/module/bz2

rhymes at codespeak.net rhymes at codespeak.net
Mon Aug 7 16:21:10 CEST 2006


Author: rhymes
Date: Mon Aug  7 16:21:07 2006
New Revision: 31110

Modified:
   pypy/dist/pypy/module/bz2/interp_bz2.py
Log:
small fixes

Modified: pypy/dist/pypy/module/bz2/interp_bz2.py
==============================================================================
--- pypy/dist/pypy/module/bz2/interp_bz2.py	(original)
+++ pypy/dist/pypy/module/bz2/interp_bz2.py	Mon Aug  7 16:21:07 2006
@@ -1023,6 +1023,8 @@
     if bzerror != BZ_OK:
         _catch_bz2_error(space, bzerror)
     
+    total_out = _bzs_total_out(bzs)
+    temp = []
     while True:
         bzerror = libbz2.BZ2_bzCompress(byref(bzs), BZ_FINISH)
         if bzerror == BZ_STREAM_END:



More information about the Pypy-commit mailing list