[Python-checkins] distutils2: Fix #7973
tarek.ziade
python-checkins at python.org
Thu Aug 19 08:34:12 CEST 2010
tarek.ziade pushed 8e948c6e93f9 to distutils2:
http://hg.python.org/distutils2/rev/8e948c6e93f9
changeset: 530:8e948c6e93f9
user: ?ric Araujo <merwok at netwok.org>
date: Mon Aug 09 07:58:40 2010 +0200
summary: Fix #7973
files: src/distutils2/command/bdist_msi.py, src/distutils2/command/bdist_wininst.py
diff --git a/src/distutils2/command/bdist_msi.py b/src/distutils2/command/bdist_msi.py
--- a/src/distutils2/command/bdist_msi.py
+++ b/src/distutils2/command/bdist_msi.py
@@ -148,7 +148,7 @@
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)
diff --git a/src/distutils2/command/bdist_wininst.py b/src/distutils2/command/bdist_wininst.py
--- a/src/distutils2/command/bdist_wininst.py
+++ b/src/distutils2/command/bdist_wininst.py
@@ -96,7 +96,7 @@
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
--
Repository URL: http://hg.python.org/distutils2
More information about the Python-checkins
mailing list