Remove incorrect usages of map() in distutils.

Reported by Lisandro Dalcin.
This commit is contained in:
Amaury Forgeot d'Arc 2008-07-26 20:09:45 +00:00
parent 9a2310d1b6
commit 61cb087359
6 changed files with 11 additions and 9 deletions

View file

@ -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)