mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-11 01:41:57 -04:00
Merge pull request #8853 from ThomasWaldmann/fix-todo
legacyremote: fix api versioning todo
This commit is contained in:
commit
c9083a3d07
1 changed files with 1 additions and 4 deletions
|
|
@ -619,10 +619,7 @@ class LegacyRemoteRepository:
|
|||
send_buffer()
|
||||
self.ignore_responses |= set(waiting_for) # we lose order here
|
||||
|
||||
@api(
|
||||
since=parse_version("1.0.0"),
|
||||
v1_or_v2={"since": parse_version("2.0.0b8"), "previously": True}, # TODO fix version
|
||||
)
|
||||
@api(since=parse_version("1.0.0"), v1_or_v2={"since": parse_version("2.0.0b10"), "previously": True})
|
||||
def open(self, path, create=False, lock_wait=None, lock=True, exclusive=False, v1_or_v2=False):
|
||||
"""actual remoting is done via self.call in the @api decorator"""
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue