From fef9d0fc78e81a9cbbf6feb55cf1c3ec60b55750 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 8 Feb 2013 17:43:04 +0100 Subject: [PATCH] generic_platform: fix typo --- mibuild/generic_platform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mibuild/generic_platform.py b/mibuild/generic_platform.py index 387755288..8e2496414 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