Przeglądaj źródła

Fix Blob._deserialize.

Jelmer Vernooij 15 lat temu
rodzic
commit
2c2265b3ec
1 zmienionych plików z 1 dodań i 1 usunięć
  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).")