Index: text.py
===================================================================
--- text.py	(revision 10482)
+++ text.py	(revision 10483)
@@ -177,6 +177,9 @@
     zfile.close()
     return zbuf.getvalue()
 
+# WARNING - be aware that compress_sequence does not achieve the same
+# level of compression as compress_string
+# 
 def compress_sequence(sequence, charset):
     import cStringIO, zlib
     import flushable_gzip as gzip
@@ -189,6 +192,11 @@
         zfile.flush()
         zbuf.seek(position)
         yield zbuf.read()
+    
+    position = zbuf.tell()
+    zfile.close()
+    zbuf.seek(position)
+    yield zbuf.read()
 
 ustring_re = re.compile(u"([\u0080-\uffff])")
 
