diff options
-rw-r--r-- | setuptools/msvc.py | 4 | ||||
-rw-r--r-- | setuptools/tests/test_msvc.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/msvc.py b/setuptools/msvc.py index 63031ac2..500a00f9 100644 --- a/setuptools/msvc.py +++ b/setuptools/msvc.py @@ -219,8 +219,8 @@ def _augment_exception(exc, version, arch=''): if "vcvarsall" in message.lower() or "visual c" in message.lower(): # Special error message if MSVC++ not installed - message = 'Microsoft Visual C++ %0.1f is required (%s).' %\ - (version, message) + tmpl = 'Microsoft Visual C++ %0.1f is required (%s).' + message = tmpl % version, message msdownload = r'www.microsoft.com/download/details.aspx?id=%d' if version == 9.0: if arch.lower().find('ia64') > -1: diff --git a/setuptools/tests/test_msvc.py b/setuptools/tests/test_msvc.py index 86475834..2fbd56bf 100644 --- a/setuptools/tests/test_msvc.py +++ b/setuptools/tests/test_msvc.py @@ -1,5 +1,5 @@ """ -Tests for msvc9compiler. +Tests for msvc support module. """ import os |