storage/file: remove redundant _revisions_to_keep init

FilePool's revisions_to_keep setter - called in the next line via
Pool.__init__() - initializes the variable.
This commit is contained in:
Rusty Bird 2020-06-22 14:03:17 +00:00
parent 8f1d59e9af
commit 3ab789f5d8
No known key found for this signature in database
GPG Key ID: 469D78F47AAF2ADF

View File

@ -53,7 +53,6 @@ class FilePool(qubes.storage.Pool):
driver = 'file'
def __init__(self, revisions_to_keep=1, dir_path=None, **kwargs):
self._revisions_to_keep = 0
super(FilePool, self).__init__(revisions_to_keep=revisions_to_keep,
**kwargs)
assert dir_path, "No pool dir_path specified"