Explorar o código

Fix early EOF issues

John Carr %!s(int64=16) %!d(string=hai) anos
pai
achega
a9757730cc
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      dulwich/server.py

+ 1 - 0
dulwich/server.py

@@ -65,6 +65,7 @@ class GitBackend(Backend):
     def apply_pack(self, refs, read):
         fd, commit = self.repo.object_store.add_pack()
         fd.write(read())
+        fd.close()
         commit()
 
         for oldsha, sha, ref in refs: