File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -132,23 +132,23 @@ def FindLatestMSVC( quiet ):
132132 try :
133133 latest_v = int ( latest_full_v .split ( '.' )[ 0 ] )
134134 except ValueError :
135- raise ValueError ( "{latest_full_v= } is not a version number." )
135+ raise ValueError ( f "{ latest_full_v } is not a version number." )
136136
137137 if not quiet :
138- print ( f'vswhere -latest returned version { latest_full_v = } ' )
138+ print ( f'vswhere -latest returned version { latest_full_v } ' )
139139
140140 if latest_v not in ACCEPTABLE_VERSIONS :
141141 if latest_v > 17 :
142142 if not quiet :
143- print ( f'MSVC Version { latest_full_v = } is newer than expected.' )
143+ print ( f'MSVC Version { latest_full_v } is newer than expected.' )
144144 else :
145145 raise ValueError (
146- f'vswhere returned { latest_full_v = } which is unexpected.'
146+ f'vswhere returned { latest_full_v } which is unexpected.'
147147 'Pass --msvc <version> argument.' )
148148 return latest_v
149149 else :
150150 if not quiet :
151- print ( f'vswhere returned nothing usable, { latest_full_v = } ' )
151+ print ( f'vswhere returned nothing usable, { latest_full_v } ' )
152152
153153 # Fall back to registry parsing, which works at least until MSVC 2019 (16)
154154 # but is likely failing on MSVC 2022 (17)
You can’t perform that action at this time.
0 commit comments