Selaa lähdekoodia

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

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
David Keijser 12 vuotta sitten
vanhempi
commit
e0aa2675c6
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      dulwich/client.py

+ 1 - 1
dulwich/client.py

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