1
0
Fork 0
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:
Jonas Borgström 2011-09-05 21:20:17 +02:00
parent ef8c4a0097
commit f9bdd72848

View file

@ -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)