From 117d30d17126f2118e43dec2f08d502d3369f6c8 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 2 Nov 2017 16:03:55 +0100 Subject: [PATCH] remove evil trailing comma, fixes #3244 value type of compatMap is a tuple of strings. due to the trailing comma, this was a 1-tuple of a tuple of strings. --- src/borg/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/borg/remote.py b/src/borg/remote.py index d3c5e542d..81067881f 100644 --- a/src/borg/remote.py +++ b/src/borg/remote.py @@ -596,7 +596,7 @@ def do_open(): # emit this msg in the same way as the 'Remote: ...' lines that show the remote TypeError sys.stderr.write(msg) self.server_version = parse_version('1.0.6') - compatMap['open'] = ('path', 'create', 'lock_wait', 'lock', ), + compatMap['open'] = ('path', 'create', 'lock_wait', 'lock', ) # try again with corrected version and compatMap do_open() except Exception: