mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
#7973: Fix distutils options spelling.
This commit is contained in:
parent
dee7b8503d
commit
56be37cef2
3 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue