mirror of https://github.com/borgbackup/borg.git
remove debugging code and fix all have_cython calls
This commit is contained in:
parent
80e53fb66d
commit
1c61f87da3
|
@ -15,7 +15,7 @@ from .helpers import Error, get_cache_dir, decode_dict, st_mtime_ns, unhexlify,
|
|||
from .locking import UpgradableLock
|
||||
from .hashindex import ChunkIndex
|
||||
|
||||
if have_cython:
|
||||
if have_cython():
|
||||
import msgpack
|
||||
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ from .archive import Archive
|
|||
from .helpers import daemonize, have_cython
|
||||
from .remote import cache_if_remote
|
||||
|
||||
if have_cython:
|
||||
if have_cython():
|
||||
import msgpack
|
||||
|
||||
# Does this version of llfuse support ns precision?
|
||||
|
|
3
setup.py
3
setup.py
|
@ -140,9 +140,6 @@ class build_usage(Command):
|
|||
# allows us to build docs without the C modules fully loaded during help generation
|
||||
if 'BORG_CYTHON_DISABLE' not in os.environ:
|
||||
os.environ['BORG_CYTHON_DISABLE'] = self.__class__.__name__
|
||||
from borg.helpers import have_cython
|
||||
print('have_cython? %s' % have_cython())
|
||||
print("CYTHON ENV: %s" % os.environ.get('BORG_CYTHON_DISABLE'))
|
||||
from borg.archiver import Archiver
|
||||
parser = Archiver().build_parser(prog='borg')
|
||||
choices = {}
|
||||
|
|
Loading…
Reference in New Issue