changeset 1431:16a5d349963c

Calling flush is unnecessary with bz2 decompressors and may not even exist.
author Matt Mackall <mpm@selenic.com>
date Mon, 24 Oct 2005 14:55:20 -0700
parents c91966c3bbf5
children 612f3eba73ee
files mercurial/commands.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Mon Oct 24 14:54:54 2005 -0700
+++ b/mercurial/commands.py	Mon Oct 24 14:55:20 2005 -0700
@@ -1700,7 +1700,6 @@
         zd = bz2.BZ2Decompressor()
         for chunk in f:
             yield zd.decompress(chunk)
-        yield zd.flush()
 
     bzgen = bzgenerator(util.filechunkiter(f, 4096))
     repo.addchangegroup(util.chunkbuffer(bzgen))