Explorar o código

Fix Blob._deserialize.

Jelmer Vernooij %!s(int64=15) %!d(string=hai) anos
pai
achega
2c2265b3ec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dulwich/objects.py

+ 1 - 1
dulwich/objects.py

@@ -466,7 +466,7 @@ class Blob(ShaFile):
         return self._chunked_text
 
     def _deserialize(self, chunks):
-        return "".join(chunks)
+        self._chunked_text = chunks
 
     chunked = property(_get_chunked, _set_chunked,
         "The text within the blob object, as chunks (not necessarily lines).")