diff options
author | Joseph Brill <48932340+jcbrill@users.noreply.github.com> | 2022-06-14 16:42:12 (GMT) |
---|---|---|
committer | Joseph Brill <48932340+jcbrill@users.noreply.github.com> | 2022-06-14 16:42:12 (GMT) |
commit | 5b8d1c4ba03b422f7415bea638cb84c4b974a494 (patch) | |
tree | 046bf3bf2bb860a4571376d5d7db60b5f82f72f1 /SCons/Tool | |
parent | 7b8a915bf4b33ec2ee20b0d6763968f39c743344 (diff) | |
download | SCons-5b8d1c4ba03b422f7415bea638cb84c4b974a494.zip SCons-5b8d1c4ba03b422f7415bea638cb84c4b974a494.tar.gz SCons-5b8d1c4ba03b422f7415bea638cb84c4b974a494.tar.bz2 |
Change IOError to OSError
Diffstat (limited to 'SCons/Tool')
-rw-r--r-- | SCons/Tool/MSCommon/vc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SCons/Tool/MSCommon/vc.py b/SCons/Tool/MSCommon/vc.py index c885f20..0c9fcee 100644 --- a/SCons/Tool/MSCommon/vc.py +++ b/SCons/Tool/MSCommon/vc.py @@ -1767,8 +1767,8 @@ class _MSVCScriptArguments: 'msvc_version=%s, filename=%s, toolset_version=%s', repr(msvc.version), repr(filename), repr(toolset_version) ) - except IOError: - debug('IOError: msvc_version=%s, filename=%s', repr(msvc.version), repr(filename)) + except OSError: + debug('OSError: msvc_version=%s, filename=%s', repr(msvc.version), repr(filename)) except IndexError: debug('IndexError: msvc_version=%s, filename=%s', repr(msvc.version), repr(filename)) return toolset_version |