瀏覽代碼

Don't wait for EOF in _handle_receive_pack_tail

This is the same as the previous commit, except it makes receive-pack (i.e. git
push) to a GitHub repository work again.
Siddharth Agarwal 11 年之前
父節點
當前提交
a0343b4fbd
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      dulwich/client.py

+ 0 - 4
dulwich/client.py

@@ -334,10 +334,6 @@ class GitClient(object):
                     self._report_status_parser.handle_packet(pkt)
         if self._report_status_parser is not None:
             self._report_status_parser.check()
-        # wait for EOF before returning
-        data = proto.read()
-        if data:
-            raise SendPackError('Unexpected response %r' % data)
 
     def _handle_upload_pack_head(self, proto, capabilities, graph_walker,
                                  wants, can_read):