Kiln » Dependencies » Dulwich Read More
Clone URL:  
Pushed to one repository · View In Graph Contained in master

Protocol does not have a recv attritbue.
This causes dul-receive-pack to throw an error.


Fixes a bug where an AttributeError is thrown when dul-receive-pack is
run. This is caused due to the fact that the default protocol used is
the Protocol class, which does not have recv defined.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

Changeset 35d9475598be

Parent e15f8632f9e9

committed by Jelmer Vernooij

authored by Jonathan Chu

Changes to one file · Browse files at 35d9475598be Showing diff from parent e15f8632f9e9 Diff from another changeset...

Change 1 of 1 Show Entire File dulwich/​server.py Stacked
 
619
620
621
622
623
 
 
624
625
626
 
619
620
621
 
 
622
623
624
625
626
@@ -619,8 +619,8 @@
  status = []   # TODO: more informative error messages than just the exception string   try: - p = self.repo.object_store.add_thin_pack(self.proto.read, - self.proto.recv) + recv = getattr(self.proto, "recv", None) + p = self.repo.object_store.add_thin_pack(self.proto.read, recv)   status.append(('unpack', 'ok'))   except all_exceptions, e:   status.append(('unpack', str(e).replace('\n', '')))