removed cruft

This commit is contained in:
David Vierra 2010-11-19 01:22:42 -10:00
parent 33c36facfb
commit bf192067b5

View File

@ -2040,15 +2040,6 @@ class MCInfdevOldLevel(MCLevel):
## chunkfh.close();
## for chunk in self._presentChunks.keys():
## self.loadChunk(*chunk);
def preloadInitialChunks(self, chunks):
#intended to be called on a second thread.
#as a side effect, the operating system will have the given chunk files in the file cache.
for c in chunks:
with open(self._presentChunks[c].filename, 'rb') as chunkfh:
self.compressedTags[c] = chunkfh.read();
def compressAllChunks(self):
for ch in self._presentChunks.itervalues():