mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-01 12:45:34 +00:00
repository: remove __len__ and __contains__
This commit is contained in:
parent
1a382a8bcf
commit
a15cd1e493
1 changed files with 0 additions and 6 deletions
|
@ -286,12 +286,6 @@ def check_object(obj):
|
|||
logger.error(f"Finished {mode} repository check, errors found.")
|
||||
return objs_errors == 0 or repair
|
||||
|
||||
def __len__(self):
|
||||
raise NotImplementedError
|
||||
|
||||
def __contains__(self, id):
|
||||
raise NotImplementedError
|
||||
|
||||
def list(self, limit=None, marker=None):
|
||||
"""
|
||||
list <limit> IDs starting from after id <marker>.
|
||||
|
|
Loading…
Reference in a new issue