]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix AttributeError typo in setup.py that prevented fallback
authorFederico Caselli <cfederico87@gmail.com>
Wed, 5 Jan 2022 20:31:31 +0000 (21:31 +0100)
committerFederico Caselli <cfederico87@gmail.com>
Wed, 5 Jan 2022 20:33:09 +0000 (20:33 +0000)
pure python build if the compilation fails

Fixes: #7539
Change-Id: I4bf7905eb7a5337213ce922d005d2fffb8b9079c

setup.py

index 500be62a98a840f4ceae014964bad8db8df5c5b5..60495892258b5394de8f052a32e81a022077adb6 100644 (file)
--- 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.",