summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJam Hernandez Quiceno <jam.hernandez.q@hiddenlevel.com>2023-04-20 14:24:15 -0400
committerJam Hernandez Quiceno <jam.hernandez.q@hiddenlevel.com>2023-04-20 14:24:15 -0400
commit979c2e0d6a804ffe1c648e8894d5e467fa0b7c4d (patch)
tree2079aef1eeb9750dc76865b0c5cb28c244e95929
parentf11f8b16e28ef2e21c1f454d8925b2c512d32d37 (diff)
downloadpython-setuptools-git-979c2e0d6a804ffe1c648e8894d5e467fa0b7c4d.tar.gz
Fix . When value is false return instead of raising DistutilsSetupError exception
-rw-r--r--setuptools/dist.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/setuptools/dist.py b/setuptools/dist.py
index c75aaabe..e5a7b8ed 100644
--- a/setuptools/dist.py
+++ b/setuptools/dist.py
@@ -334,6 +334,7 @@ def invalid_unless_false(dist, attr, value):
if not value:
DistDeprecationWarning.emit(f"{attr} is ignored.")
# TODO: should there be a `due_date` here?
+ return
raise DistutilsSetupError(f"{attr} is invalid.")