소스 검색

try to fix build on RTD *again*

Antoine Beaupré 9 년 전
부모
커밋
f2c56fb890
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      borg/helpers.py

+ 1 - 2
borg/helpers.py

@@ -16,8 +16,6 @@ from datetime import datetime, timezone, timedelta
 from fnmatch import translate
 from operator import attrgetter
 
-import msgpack
-
 def have_cython():
     """allow for a way to disable Cython includes
 
@@ -37,6 +35,7 @@ if have_cython():
     from . import hashindex
     from . import chunker
     from . import crypto
+    import msgpack
 
 
 class Error(Exception):