Commit f2a0b309 authored by Jason R. Coombs's avatar Jason R. Coombs

Extract template as variable to avoid line continuation.

parent 349e3313
......@@ -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:
......
"""
Tests for msvc9compiler.
Tests for msvc support module.
"""
import os
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment