summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-05-31 20:38:41 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-05-31 20:38:41 (GMT)
commit1256a6864e4dc1728a6d7034d3f3dd322f87b02d (patch)
tree6b41ad99a4762f8fa5b62c04110e5d75b7e6d71e
parent9deedf696eeb9a015118d1d0c76bf8318f2190d2 (diff)
downloadcpython-1256a6864e4dc1728a6d7034d3f3dd322f87b02d.zip
cpython-1256a6864e4dc1728a6d7034d3f3dd322f87b02d.tar.gz
cpython-1256a6864e4dc1728a6d7034d3f3dd322f87b02d.tar.bz2
Re-add line that was mistakenly removed alongside RPM support.
This reveals the need for bdist* tests.
-rw-r--r--Lib/packaging/command/bdist.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/packaging/command/bdist.py b/Lib/packaging/command/bdist.py
index 4338a97..e8c023d 100644
--- a/Lib/packaging/command/bdist.py
+++ b/Lib/packaging/command/bdist.py
@@ -128,6 +128,7 @@ class bdist(Command):
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':