Fixed incorrect py3 exception raising

This commit is contained in:
renaud gaudin 2023-11-16 10:53:15 +00:00
parent 1b81500c0b
commit 1d70d1a0c4
No known key found for this signature in database
GPG Key ID: 447475A4CFBA2E24
1 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ def select_build_targets(criteria):
print(build_order)
return build_order
raise "No definition match with current context."
raise ValueError("No definition match with current context.")
def get_platform_name():
from common import PLATFORM_TARGET, OS_NAME
@ -143,4 +143,4 @@ def get_platform_name():
name = row["platform_name"]
return name or None
raise "No definition match with current context."
raise ValueError("No definition match with current context.")