From c87a08ed8f383466f252c2054bd44b87102149b1 Mon Sep 17 00:00:00 2001 From: Federico Caselli Date: Wed, 5 Jan 2022 21:31:31 +0100 Subject: [PATCH] Fix AttributeError typo in setup.py that prevented fallback pure python build if the compilation fails Fixes: #7539 Change-Id: I4bf7905eb7a5337213ce922d005d2fffb8b9079c --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 500be62a98..6049589225 100644 --- a/setup.py +++ b/setup.py @@ -165,7 +165,7 @@ else: raise status_msgs( - exc.cause, + exc.__cause__, "WARNING: The Cython extension could not be compiled, " "speedups are not enabled.", "Failure information, if any, is above.", -- 2.47.2