﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
15806	Error in filebased cache culling	witek@…	Anssi Kääriäinen <akaariai@…>	"In line 115 of filebased.py we have:

{{{
try:
    filelist = sorted(os.listdir(self._dir))
except (IOError, OSError):
    return

if self._cull_frequency == 0:
    doomed = filelist
else:
    doomed = [os.path.join(self._dir, k) for (i, k) in enumerate(filelist) if i % self._cull_frequency == 0]

}}}

In case of _cull_frequency == 0 instead of ""doomed = filelist"" we should have sth like:

{{{
doomed = [os.path.join(self._dir, d) for d in filelist]
}}}

Otherwise doomed tuple will not contains absolute paths but relative."	Bug	closed	Core (Cache system)	dev	Normal	fixed			Accepted	0	0	0	0	0	0
