2
0
Эх сурвалжийг харах

Fix error in fetching with side-band-64k disabled

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
David Keijser 12 жил өмнө
parent
commit
e0aa2675c6

+ 1 - 1
dulwich/client.py

@@ -402,7 +402,7 @@ class GitClient(object):
                 raise Exception('Unexpected response %r' % data)
                 raise Exception('Unexpected response %r' % data)
         else:
         else:
             while True:
             while True:
-                data = self.read(rbufsize)
+                data = proto.read(rbufsize)
                 if data == "":
                 if data == "":
                     break
                     break
                 pack_data(data)
                 pack_data(data)