summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Li <hi@raymond.li>2024-02-21 02:30:36 (GMT)
committerRaymond Li <raymli@tesla.com>2024-03-28 00:37:31 (GMT)
commit10482598d3bd932a8401f6518e173d0204cbe83d (patch)
treebfd12aa049a673a67a687dc25927a5482de48aed
parent7e6484275b04e17660b36ebbf38b2b67d9d1c3c7 (diff)
downloadSCons-10482598d3bd932a8401f6518e173d0204cbe83d.zip
SCons-10482598d3bd932a8401f6518e173d0204cbe83d.tar.gz
SCons-10482598d3bd932a8401f6518e173d0204cbe83d.tar.bz2
Fix #3935 OSErrors being hidden
-rw-r--r--SCons/Action.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/SCons/Action.py b/SCons/Action.py
index afa1d91..c32cc58 100644
--- a/SCons/Action.py
+++ b/SCons/Action.py
@@ -1461,7 +1461,7 @@ class FunctionAction(_ActionAction):
# some codes do not check the return value of Actions and I do
# not have the time to modify them at this point.
if (exc_info[1] and
- not isinstance(exc_info[1], EnvironmentError)):
+ not isinstance(exc_info[1], SCons.Errors.SConsEnvironmentError)):
raise result
return result