Kaydet (Commit) bf9183ee authored tarafından Moshe Zadka's avatar Moshe Zadka

- distutils/command/install.py - make .get_outputs() produce a list of unique

                                 filenames
üst 6aae5c30
...@@ -529,7 +529,11 @@ class install (Command): ...@@ -529,7 +529,11 @@ class install (Command):
outputs = [] outputs = []
for cmd_name in self.get_sub_commands(): for cmd_name in self.get_sub_commands():
cmd = self.get_finalized_command(cmd_name) cmd = self.get_finalized_command(cmd_name)
outputs.extend(cmd.get_outputs()) # Add the contents of cmd.get_outputs(), ensuring
# that outputs doesn't contain duplicate entries
for filename in cmd.get_outputs():
if filename not in outputs:
outputs.append(filename)
return outputs return outputs
......
...@@ -146,10 +146,13 @@ http://sourceforge.net/tracker/index.php?func=detail&aid=<id>&group_id=5470&atid ...@@ -146,10 +146,13 @@ http://sourceforge.net/tracker/index.php?func=detail&aid=<id>&group_id=5470&atid
- urllib.py - provide simple recovery/escape from apparent redirect recursion - urllib.py - provide simple recovery/escape from apparent redirect recursion
- #129288 - urllib.py - chanign %02x to %02X in quoting - #129288 - urllib.py - changing %02x to %02X in quoting
- urllib.py - HTTPS now works with string URLs - urllib.py - HTTPS now works with string URLs
- distutils/command/install.py - make .get_outputs() produce a list of unique
filenames
What's New in Python 2.0? What's New in Python 2.0?
========================= =========================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment