mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-31 11:42:05 +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:
|
else:
|
||||||
self.wait(self.odata)
|
self.wait(self.odata)
|
||||||
|
|
||||||
def commit(self):
|
def commit(self, *args):
|
||||||
self.cmd('commit', (self.meta,))
|
self.cmd('commit', args)
|
||||||
|
|
||||||
def rollback(self, *args):
|
def rollback(self, *args):
|
||||||
return self.cmd('rollback', 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):
|
def get(self, id, callback=None, callback_data=None):
|
||||||
try:
|
try:
|
||||||
return self.cmd('get', (id, ), callback, callback_data)
|
return self.cmd('get', (id, ), callback, callback_data)
|
||||||
|
|
Loading…
Reference in a new issue