1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-24 07:01:59 +00:00

fix logical inversion in the semantics of detect_cython()

This commit is contained in:
Antoine Beaupré 2015-10-08 15:26:40 -04:00
parent f98998f042
commit ff483fe485

View file

@ -28,6 +28,8 @@ def detect_cython():
we simply check an environment variable (``BORG_CYTHON_DISABLE``) we simply check an environment variable (``BORG_CYTHON_DISABLE``)
which, when set (to anything) will disable includes of Cython which, when set (to anything) will disable includes of Cython
libraries in key places to enable usage docs to be built. libraries in key places to enable usage docs to be built.
:returns: True if Cython is available, False otherwise.
""" """
return not os.environ.get('BORG_CYTHON_DISABLE') return not os.environ.get('BORG_CYTHON_DISABLE')