diff --git a/borg/archive.py b/borg/archive.py index 77638d6c1..f10d24d92 100644 --- a/borg/archive.py +++ b/borg/archive.py @@ -19,6 +19,9 @@ if have_cython(): from .chunker import Chunker from .hashindex import ChunkIndex import msgpack +else: + import mock + msgpack = mock.Mock() ITEMS_BUFFER = 1024 * 1024