mirror of
https://github.com/python/cpython.git
synced 2025-10-28 01:00:34 +00:00
oops. how did _that_ happen?
This commit is contained in:
parent
f2113f0c6e
commit
73cc8479f0
1 changed files with 1 additions and 0 deletions
|
|
@ -230,6 +230,7 @@ class Distribution:
|
||||||
setattr(self.metadata, key, val)
|
setattr(self.metadata, key, val)
|
||||||
elif hasattr(self, key):
|
elif hasattr(self, key):
|
||||||
setattr(self, key, val)
|
setattr(self, key, val)
|
||||||
|
else:
|
||||||
msg = "Unknown distribution option: %s" % repr(key)
|
msg = "Unknown distribution option: %s" % repr(key)
|
||||||
if warnings is not None:
|
if warnings is not None:
|
||||||
warnings.warn(msg)
|
warnings.warn(msg)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue