##// END OF EJS Templates
obsstore: disable garbage collection during initialization (issue4456)...
Pierre-Yves David -
r23497:5817f71c default
parent child Browse files
Show More
@@ -377,6 +377,7 b' def _fm1encodeonemarker(marker):'
377 377 formats = {_fm0version: (_fm0readmarkers, _fm0encodeonemarker),
378 378 _fm1version: (_fm1readmarkers, _fm1encodeonemarker)}
379 379
380 @util.nogc
380 381 def _readmarkers(data):
381 382 """Read and enumerate markers from raw data"""
382 383 off = 0
@@ -562,6 +563,7 b' class obsstore(object):'
562 563 version, markers = _readmarkers(data)
563 564 return self.add(transaction, markers)
564 565
566 @util.nogc
565 567 def _load(self, markers):
566 568 for mark in markers:
567 569 self._all.append(mark)
General Comments 0
You need to be logged in to leave comments. Login now