[Python-checkins] cpython: Re-add line that was mistakenly removed alongside RPM support.

eric.araujo python-checkins at python.org
Wed Jun 1 19:47:51 CEST 2011


http://hg.python.org/cpython/rev/4c00c82efb4a
changeset:   70585:4c00c82efb4a
user:        Éric Araujo <merwok at netwok.org>
date:        Tue May 31 22:38:41 2011 +0200
summary:
  Re-add line that was mistakenly removed alongside RPM support.

This reveals the need for bdist* tests.

files:
  Lib/packaging/command/bdist.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/packaging/command/bdist.py b/Lib/packaging/command/bdist.py
--- a/Lib/packaging/command/bdist.py
+++ b/Lib/packaging/command/bdist.py
@@ -128,6 +128,7 @@
         for i in range(len(self.formats)):
             cmd_name = commands[i]
             sub_cmd = self.get_reinitialized_command(cmd_name)
+            sub_cmd.format = self.formats[i]
 
             # passing the owner and group names for tar archiving
             if cmd_name == 'bdist_dumb':

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list