commit | 61cb0873591f9c43c1e10fcbe611c43f943c7c90 | [log] [tgz] |
---|---|---|
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Sat Jul 26 20:09:45 2008 +0000 |
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Sat Jul 26 20:09:45 2008 +0000 |
tree | fa2cf90f0051355baafb184641a1385dafcc1a7e | |
parent | 9a2310d1b6b80bae072892de04464d23b1e88881 [diff] [blame] |
Remove incorrect usages of map() in distutils. Reported by Lisandro Dalcin.
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 @@ 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)