[Python-checkins] distutils2: Removed deprecated and unused check_metadata() method.
tarek.ziade
python-checkins at python.org
Sun Aug 8 11:50:48 CEST 2010
tarek.ziade pushed 6c333edc198e to distutils2:
http://hg.python.org/distutils2/rev/6c333edc198e
changeset: 517:6c333edc198e
user: Jeremy Kloth <jeremy.kloth at gmail.com>
date: Sat Jul 17 19:32:30 2010 -0600
summary: Removed deprecated and unused check_metadata() method.
files: src/distutils2/command/sdist.py
diff --git a/src/distutils2/command/sdist.py b/src/distutils2/command/sdist.py
--- a/src/distutils2/command/sdist.py
+++ b/src/distutils2/command/sdist.py
@@ -171,14 +171,6 @@
# or zipfile, or whatever.
self.make_distribution()
- def check_metadata(self):
- """Deprecated API."""
- warn("distutils.command.sdist.check_metadata is deprecated, \
- use the check command instead", PendingDeprecationWarning)
- check = self.distribution.get_command_obj('check')
- check.ensure_finalized()
- check.run()
-
def get_file_list(self):
"""Figure out the list of files to include in the source
distribution, and put it in 'self.filelist'. This might involve
--
Repository URL: http://hg.python.org/distutils2
More information about the Python-checkins
mailing list