summaryrefslogtreecommitdiffstats
path: root/SCons/Warnings.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2022-02-23 14:50:00 (GMT)
committerMats Wichmann <mats@linux.com>2023-08-06 17:31:50 (GMT)
commitfd6676a3d652b3a5eef51879ee03515992a65732 (patch)
tree013677cab0b62644bca700f3534c8459fc51d7cd /SCons/Warnings.py
parente141cd3288ece58340a1a9e5d99a8c4f810366a9 (diff)
downloadSCons-fd6676a3d652b3a5eef51879ee03515992a65732.zip
SCons-fd6676a3d652b3a5eef51879ee03515992a65732.tar.gz
SCons-fd6676a3d652b3a5eef51879ee03515992a65732.tar.bz2
Change the default to error on missing SConscript
This completes a change begun in 3.0.2, when the behavior changed from "skip silently" to "skip but issue a warning"; that behavior was marked deprecated in 3.1. Use must_exist=False to get the old "skip silently" behavior. Fixes #3958 Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SCons/Warnings.py')
-rw-r--r--SCons/Warnings.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/SCons/Warnings.py b/SCons/Warnings.py
index 5c2a0db..f6809fb 100644
--- a/SCons/Warnings.py
+++ b/SCons/Warnings.py
@@ -70,6 +70,7 @@ class LinkWarning(WarningOnByDefault):
class MisleadingKeywordsWarning(WarningOnByDefault):
pass
+# TODO: no longer needed, now an error instead of warning. Leave for a bit.
class MissingSConscriptWarning(WarningOnByDefault):
pass