diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-03-22 14:05:40 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-03-22 14:06:48 +0200 |
commit | 9abf20baa24c2fac833977251ee29df3ae97dbee (patch) | |
tree | fedb53513f744bcadece953578d766276be3c0d5 /obnamlib/repo_interface.py | |
parent | 0cba6730e210fae49bd296a4498b111e88d550d2 (diff) | |
download | obnam-9abf20baa24c2fac833977251ee29df3ae97dbee.tar.gz |
Remove unused argument from get_fsck_work_items
No implementation of RepositoryInterface actually wants the
settings argument, and no user of the interface gives the
argument.
Thanks to Thomas Waldmann for noticing this.
Diffstat (limited to 'obnamlib/repo_interface.py')
-rw-r--r-- | obnamlib/repo_interface.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/obnamlib/repo_interface.py b/obnamlib/repo_interface.py index 6b5c2a20..2b2697e1 100644 --- a/obnamlib/repo_interface.py +++ b/obnamlib/repo_interface.py @@ -801,7 +801,7 @@ class RepositoryInterface(object): # Fsck. - def get_fsck_work_items(self, settings): + def get_fsck_work_items(self): '''Returns fsck work items for checking this repository. This may be a generator or may return an iterable data @@ -810,9 +810,6 @@ class RepositoryInterface(object): The returned work items are of type obnamlib.WorkItem. It may return further work items. - The settings argument is of type cliapp.Settings, and lets - the user affect what work gets done. - ''' raise NotImplementedError() |