Adjusted error description to make more sense.
This commit is contained in:
parent
e1404fee58
commit
089ea25c10
@ -177,7 +177,7 @@ def _find_lib(env: Environment, name: str, paths: 'list[str]', type : str = 'sta
|
|||||||
return lib_path
|
return lib_path
|
||||||
if allow_fail:
|
if allow_fail:
|
||||||
return None
|
return None
|
||||||
raise Exception(f'Could not find library with name {name} in paths: "{", ".join(paths)}" with name: "{fname}".')
|
raise Exception(f'Could not find library with name {name} in paths: "{", ".join(paths)}" filename: "{fname}".')
|
||||||
|
|
||||||
def _error(env: Environment, message: str):
|
def _error(env: Environment, message: str):
|
||||||
print(message, file=sys.stderr)
|
print(message, file=sys.stderr)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user