From ff483fe48552389a9e898ba9da2ccb2e7b3e26f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Thu, 8 Oct 2015 15:26:40 -0400 Subject: [PATCH] fix logical inversion in the semantics of detect_cython() --- borg/helpers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/borg/helpers.py b/borg/helpers.py index a57feda96..bfbc45a21 100644 --- a/borg/helpers.py +++ b/borg/helpers.py @@ -28,6 +28,8 @@ def detect_cython(): we simply check an environment variable (``BORG_CYTHON_DISABLE``) which, when set (to anything) will disable includes of Cython 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')