diff options
author | Jam Hernandez Quiceno <jam.hernandez.q@hiddenlevel.com> | 2023-04-20 14:24:15 -0400 |
---|---|---|
committer | Jam Hernandez Quiceno <jam.hernandez.q@hiddenlevel.com> | 2023-04-20 14:24:15 -0400 |
commit | 979c2e0d6a804ffe1c648e8894d5e467fa0b7c4d (patch) | |
tree | 2079aef1eeb9750dc76865b0c5cb28c244e95929 | |
parent | f11f8b16e28ef2e21c1f454d8925b2c512d32d37 (diff) | |
download | python-setuptools-git-979c2e0d6a804ffe1c648e8894d5e467fa0b7c4d.tar.gz |
Fix . When value is false return instead of raising DistutilsSetupError exception
-rw-r--r-- | setuptools/dist.py | 1 |
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.") |