mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-31 03:31:41 +00:00
Fixed remote store issue
This commit is contained in:
parent
ef8c4a0097
commit
f9bdd72848
1 changed files with 2 additions and 8 deletions
|
@ -160,18 +160,12 @@ def cmd(self, cmd, args, callback=None, callback_data=None):
|
|||
else:
|
||||
self.wait(self.odata)
|
||||
|
||||
def commit(self):
|
||||
self.cmd('commit', (self.meta,))
|
||||
def commit(self, *args):
|
||||
self.cmd('commit', args)
|
||||
|
||||
def rollback(self, *args):
|
||||
return self.cmd('rollback', args)
|
||||
|
||||
def meta_get(self, *args):
|
||||
return self.cmd('meta_get', args)
|
||||
|
||||
def meta_set(self, *args):
|
||||
return self.cmd('meta_set', args)
|
||||
|
||||
def get(self, id, callback=None, callback_data=None):
|
||||
try:
|
||||
return self.cmd('get', (id, ), callback, callback_data)
|
||||
|
|
Loading…
Reference in a new issue