commit - 51b5b0c65c78fcde4d9df304a0783a8ef7fa4b87
commit + 2d1a69eeca244bc64d106fff5b1a4e25fa1e1728
blob - a206c2ad77ab32e299e9813c9dc43db2ee39f4d0
blob + d19645d3dafd42ba011a0f16fa7dfb189c115c9e
--- swh/loader/git/loader.py
+++ swh/loader/git/loader.py
return
self.f.seek(0, io.SEEK_END)
self.offset = self.f.tell()
- self.graph.write_picklez(self.f)
+ self.graph.write_pickle(self.f)
del self.graph
def swap_in(self):
if self.offset == -1:
raise ValueError("graph has not been swapped out")
self.f.seek(self.offset, io.SEEK_SET)
- return Graph.Read_Pickelz(self.f)
+ return Graph.Read_Pickel(self.f)
def split_lines_and_remainder(buf: bytes) -> Tuple[List[bytes], bytes]: