Remove verbose hl2sdk-X not found warning

None of the available usage options have any use for such a warning.
This commit is contained in:
Peace-Maker 2020-10-28 19:14:41 +01:00 committed by peace-maker
parent 8e7d41ec02
commit 3eb2cd2971

View File

@ -159,7 +159,6 @@ class SMConfig(object):
use_all = sdk_list[0] == 'all'
use_present = sdk_list[0] == 'present'
not_found = []
for sdk_name in PossibleSDKs:
sdk = PossibleSDKs[sdk_name]
if sdk.shouldBuild(self.all_targets):
@ -170,7 +169,6 @@ class SMConfig(object):
if sdk_path is None or not os.path.isdir(sdk_path):
if use_all or sdk_name in sdk_list:
raise Exception('Could not find a valid path for {0}'.format(sdk.envvar))
not_found.append(sdk_name)
continue
if use_all or use_present or sdk_name in sdk_list:
sdk.path = Normalize(sdk_path)
@ -179,9 +177,6 @@ class SMConfig(object):
if len(self.sdks) < 1 and len(sdk_list) and not use_none:
raise Exception('No applicable SDKs were found, nothing to do')
for sdk in not_found:
print('Warning: hl2sdk-{} was not found, and will not be included in build.'.format(sdk))
if builder.options.mms_path:
self.mms_root = builder.options.mms_path
else: