summaryrefslogtreecommitdiff
path: root/mercurial/changegroup.py
diff options
context:
space:
mode:
Diffstat (limited to 'mercurial/changegroup.py')
-rw-r--r--mercurial/changegroup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py
index 236c8a3..7ee7b3f 100644
--- a/mercurial/changegroup.py
+++ b/mercurial/changegroup.py
@@ -118,7 +118,7 @@ def decompressor(fh, alg):
elif alg == 'GZ':
def generator(f):
zd = zlib.decompressobj()
- for chunk in util.filechunkiter(f):
+ for chunk in f:
yield zd.decompress(chunk)
elif alg == 'BZ':
def generator(f):