summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/distutils/dist.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py
index a23a773..1a39022 100644
--- a/Lib/distutils/dist.py
+++ b/Lib/distutils/dist.py
@@ -230,6 +230,7 @@ class Distribution:
setattr(self.metadata, key, val)
elif hasattr(self, key):
setattr(self, key, val)
+ else:
msg = "Unknown distribution option: %s" % repr(key)
if warnings is not None:
warnings.warn(msg)