From: Sebastien Bourdeauducq Date: Fri, 8 Feb 2013 16:43:04 +0000 (+0100) Subject: generic_platform: fix typo X-Git-Tag: 24jan2021_ls180~2099^2~443^2~79 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fef9d0fc78e81a9cbbf6feb55cf1c3ec60b55750;p=litex.git generic_platform: fix typo --- diff --git a/mibuild/generic_platform.py b/mibuild/generic_platform.py index 38775528..8e249641 100644 --- a/mibuild/generic_platform.py +++ b/mibuild/generic_platform.py @@ -32,7 +32,7 @@ def _lookup(description, name, number): for resource in description: if resource[0] == name and (number is None or resource[1] == number): return resource - return ConstraintError("Resource not found") + raise ConstraintError("Resource not found") def _resource_type(resource): t = None