Changes to one file · Browse files at 35d9475598be Showing diff from parent e15f8632f9e9 Diff from another changeset...
@@ -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', '')))
|
Loading...