mercurial/commands.py
changeset 1431 16a5d349963c
parent 1424 918cb47d725e
child 1435 22b44fd9a166
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1700,7 +1700,6 @@ def unbundle(ui, repo, fname):
         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))