oops. how did _that_ happen?

This commit is contained in:
Anthony Baxter 2004-10-13 13:22:34 +00:00
parent f2113f0c6e
commit 73cc8479f0
1 changed files with 1 additions and 0 deletions

View File

@ -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)