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:
parent
8f1d59e9af
commit
3ab789f5d8
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user