aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'build_scripts/utils.py')
-rw-r--r--build_scripts/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_scripts/utils.py b/build_scripts/utils.py
index a99ef073b..0c69ba87c 100644
--- a/build_scripts/utils.py
+++ b/build_scripts/utils.py
@@ -136,11 +136,11 @@ def find_vcdir(version):
# trying Express edition
if productdir is None:
try:
- hasattr(msvc9, VSEXPRESS_BASE)
+ hasattr(msvc9, VSEXPRESS_BASE) # noqa: VSEXPRESS_BASE get defined with msvc9
except AttributeError:
pass
else:
- vsbase = VSEXPRESS_BASE % version
+ vsbase = VSEXPRESS_BASE % version # noqa: VSEXPRESS_BASE get defined with msvc9
try:
productdir = msvc9.Reg.get_value(rf"{vsbase}\Setup\VC", "productdir")
except KeyError: