-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
tarsnapper caches the output of tarsnap --list-archives.
So when tarsnapper expires an archives, it also deletes it from the cache:
tarsnapper/tarsnapper/script.py
Line 204 in 1d9f3d3
| self.archives.remove(name) |
However, self.archives is actually a property, which concatenates two lists and then returns them:
tarsnapper/tarsnapper/script.py
Lines 124 to 125 in 1d9f3d3
| 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels