#7973: Fix distutils options spelling.

This commit is contained in:
Georg Brandl 2010-08-02 19:16:34 +00:00
parent dee7b8503d
commit 56be37cef2
3 changed files with 3 additions and 3 deletions

View file

@ -148,7 +148,7 @@ class bdist_msi(Command):
if not self.skip_build and self.distribution.has_ext_modules()\
and self.target_version != short_version:
raise DistutilsOptionError(
"target version can only be %s, or the '--skip_build'"
"target version can only be %s, or the '--skip-build'"
" option must be specified" % (short_version,))
else:
self.versions = list(self.all_versions)

View file

@ -89,7 +89,7 @@ class bdist_wininst(Command):
short_version = get_python_version()
if self.target_version and self.target_version != short_version:
raise DistutilsOptionError(
"target version can only be %s, or the '--skip_build'" \
"target version can only be %s, or the '--skip-build'" \
" option must be specified" % (short_version,))
self.target_version = short_version