Browse Source

Merge pull request #3246 from ThomasWaldmann/fix-old-server-hack

remove evil trailing comma, fixes #3244
TW 7 năm trước cách đây
mục cha
commit
2e15c4dc10
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: