2
0
Эх сурвалжийг харах

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.
Thomas Waldmann 7 жил өмнө
parent
commit
117d30d171
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/borg/remote.py

+ 1 - 1
src/borg/remote.py

@@ -596,7 +596,7 @@ This problem will go away as soon as the server has been upgraded to 1.0.7+.
                     # 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: