Sfoglia il codice sorgente

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

remove evil trailing comma, fixes #3244 (1.1)
TW 7 anni fa
parent
commit
299b9df057
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/borg/remote.py

+ 1 - 1
src/borg/remote.py

@@ -603,7 +603,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
                     # emit this msg in the same way as the 'Remote: ...' lines that show the remote TypeError
                     sys.stderr.write(msg)
                     sys.stderr.write(msg)
                     self.server_version = parse_version('1.0.6')
                     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
                     # try again with corrected version and compatMap
                     do_open()
                     do_open()
         except Exception:
         except Exception: