diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-07-26 20:09:45 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-07-26 20:09:45 (GMT) |
commit | 61cb0873591f9c43c1e10fcbe611c43f943c7c90 (patch) | |
tree | fa2cf90f0051355baafb184641a1385dafcc1a7e /Lib/distutils/cmd.py | |
parent | 9a2310d1b6b80bae072892de04464d23b1e88881 (diff) | |
download | cpython-61cb0873591f9c43c1e10fcbe611c43f943c7c90.zip cpython-61cb0873591f9c43c1e10fcbe611c43f943c7c90.tar.gz cpython-61cb0873591f9c43c1e10fcbe611c43f943c7c90.tar.bz2 |
Remove incorrect usages of map() in distutils.
Reported by Lisandro Dalcin.
Diffstat (limited to 'Lib/distutils/cmd.py')
-rw-r--r-- | Lib/distutils/cmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py index bd560a6..c6572ca 100644 --- a/Lib/distutils/cmd.py +++ b/Lib/distutils/cmd.py @@ -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) |