tarsnapper caches the output of tarsnap --list-archives.
So when tarsnapper expires an archives, it also deletes it from the cache:
|
self.archives.remove(name) |
However, self.archives is actually a property, which concatenates two lists and then returns them:
|
return self._queried_archives + self._known_archives |
|
archives = property(get_archives) |
So the self.archives.remove call is pointless because it only removes the filename from the temporary list created for that specific call to self.archives... it never actually removes the filename from the underlying cache.
tarsnappercaches the output oftarsnap --list-archives.So when tarsnapper expires an archives, it also deletes it from the cache:
tarsnapper/tarsnapper/script.py
Line 204 in 1d9f3d3
However,
self.archivesis actually a property, which concatenates two lists and then returns them:tarsnapper/tarsnapper/script.py
Lines 124 to 125 in 1d9f3d3
So the
self.archives.removecall is pointless because it only removes the filename from the temporary list created for that specific call toself.archives... it never actually removes the filename from the underlying cache.