mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-26 09:47:58 +00:00
try to mock msgpack altogether to fix RTD again
it seems that msgpack is a hard depends in archive...
This commit is contained in:
parent
a869ab0702
commit
a1dad8c9da
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,9 @@
|
||||||
from .chunker import Chunker
|
from .chunker import Chunker
|
||||||
from .hashindex import ChunkIndex
|
from .hashindex import ChunkIndex
|
||||||
import msgpack
|
import msgpack
|
||||||
|
else:
|
||||||
|
import mock
|
||||||
|
msgpack = mock.Mock()
|
||||||
|
|
||||||
ITEMS_BUFFER = 1024 * 1024
|
ITEMS_BUFFER = 1024 * 1024
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue