[Python-checkins] distutils2: reverted Nicolas change: an option is not necessarely a metadata, and in this
tarek.ziade
python-checkins at python.org
Sun May 30 00:05:49 CEST 2010
tarek.ziade pushed 3d606161b7b7 to distutils2:
http://hg.python.org/distutils2/rev/3d606161b7b7
changeset: 170:3d606161b7b7
user: Tarek Ziade <tarek at ziade.org>
date: Sat May 29 23:58:42 2010 +0200
summary: reverted Nicolas change: an option is not necessarely a metadata, and in this loop it can't be a metadata anyway (see if test)
files: src/distutils2/dist.py
diff --git a/src/distutils2/dist.py b/src/distutils2/dist.py
--- a/src/distutils2/dist.py
+++ b/src/distutils2/dist.py
@@ -248,7 +248,7 @@
elif hasattr(self, key):
setattr(self, key, val)
else:
- msg = "Metadata option not defined in version 1.2 (PEP-345): %s" % repr(key)
+ msg = "Unknown distribution option: %s" % repr(key)
if warnings is not None:
warnings.warn(msg)
else:
--
Repository URL: http://hg.python.org/distutils2
More information about the Python-checkins
mailing list