瀏覽代碼

Merge pull request #8910 from ThomasWaldmann/backports-1.2

Backports to 1.2-maint
TW 2 周之前
父節點
當前提交
37aa4b745b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/borg/helpers/msgpack.py

+ 1 - 1
src/borg/helpers/msgpack.py

@@ -182,7 +182,7 @@ def is_slow_msgpack():
 def is_supported_msgpack():
     # DO NOT CHANGE OR REMOVE! See also requirements and comments in setup.py.
     import msgpack
-    return (0, 5, 6) <= msgpack.version <= (1, 1, 0) and \
+    return (0, 5, 6) <= msgpack.version[:3] <= (1, 1, 1) and \
            msgpack.version not in [(1, 0, 1), ]  # < add bad releases here to deny list