mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Remove incorrect usages of map() in distutils.
Reported by Lisandro Dalcin.
This commit is contained in:
parent
9a2310d1b6
commit
61cb087359
6 changed files with 11 additions and 9 deletions
|
@ -158,7 +158,7 @@ class Command:
|
|||
print(indent + header)
|
||||
indent = indent + " "
|
||||
for (option, _, _) in self.user_options:
|
||||
option = option.translate(longopt_xlate)
|
||||
option = longopt_xlate(option)
|
||||
if option[-1] == "=":
|
||||
option = option[:-1]
|
||||
value = getattr(self, option)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue