1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-20 21:27:32 +00:00

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.

(cherry picked from commit 117d30d171)
This commit is contained in:
Thomas Waldmann 2017-11-02 16:03:55 +01:00
parent 7060fd23ec
commit a43e2c3043

View file

@ -603,7 +603,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: