From: Anthony Baxter Date: Wed, 13 Oct 2004 13:22:34 +0000 (+0000) Subject: oops. how did _that_ happen? X-Git-Tag: v2.4b1~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=73cc8479f000bbb84d0775aea55fb9de75ec110e;p=python oops. how did _that_ happen? --- diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py index a23a773c57..1a39022fd8 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)