File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -529,7 +529,11 @@ def get_outputs (self):
529
529
outputs = []
530
530
for cmd_name in self .get_sub_commands ():
531
531
cmd = self .get_finalized_command (cmd_name )
532
- outputs .extend (cmd .get_outputs ())
532
+ # Add the contents of cmd.get_outputs(), ensuring
533
+ # that outputs doesn't contain duplicate entries
534
+ for filename in cmd .get_outputs ():
535
+ if filename not in outputs :
536
+ outputs .append (filename )
533
537
534
538
return outputs
535
539
Original file line number Diff line number Diff line change @@ -146,10 +146,13 @@ http://sourceforge.net/tracker/index.php?func=detail&aid=<id>&group_id=5470&atid
146
146
147
147
- urllib.py - provide simple recovery/escape from apparent redirect recursion
148
148
149
- - #129288 - urllib.py - chanign %02x to %02X in quoting
149
+ - #129288 - urllib.py - changing %02x to %02X in quoting
150
150
151
151
- urllib.py - HTTPS now works with string URLs
152
152
153
+ - distutils/command/install.py - make .get_outputs() produce a list of unique
154
+ filenames
155
+
153
156
What's New in Python 2.0?
154
157
=========================
155
158
You can’t perform that action at this time.
0 commit comments