diff options
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 aff7d68e3c..ae4efc7efc 100644 --- a/Lib/distutils/cmd.py +++ b/Lib/distutils/cmd.py @@ -157,7 +157,7 @@ class Command: self.announce(indent + header, level=log.INFO) indent = indent + " " for (option, _, _) in self.user_options: - option = longopt_xlate(option) + option = option.translate(longopt_xlate) if option[-1] == "=": option = option[:-1] value = getattr(self, option) |