mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-09 08:51:54 -04:00
fix preloading for old remote servers, fixes #4652
if the remote server does not support the dict-based argument passing yet (e.g. when accidentally using borg 0.29 on rsync.net), the GET rpc call argument list failed to generate if the command currently being processed was not a GET also. note: rsync.net has a more recent borg as "borg1".
This commit is contained in:
parent
e1b4c1d27b
commit
2574f4dac5
1 changed files with 1 additions and 1 deletions
|
|
@ -880,7 +880,7 @@ This problem will go away as soon as the server has been upgraded to 1.0.7+.
|
|||
if self.dictFormat:
|
||||
self.to_send = msgpack.packb({MSGID: self.msgid, MSG: 'get', ARGS: args})
|
||||
else:
|
||||
self.to_send = msgpack.packb((1, self.msgid, 'get', self.named_to_positional(cmd, args)))
|
||||
self.to_send = msgpack.packb((1, self.msgid, 'get', self.named_to_positional('get', args)))
|
||||
|
||||
if self.to_send:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue