diff options
author | Brian Pomerantz <bapper@mvista.com> | 2010-01-15 07:36:58 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> | 2010-02-01 18:22:25 +0100 |
commit | cc735a4fa20c2829d187eacc7dd5b943e1132265 (patch) | |
tree | be4e929b5f9f898f5fa85f584d3a27ea7d890996 /recipes/python/python-numpy/arm/numpyconfig.h | |
parent | ff31db47356816eeb4679dd53439fa06b285ca39 (diff) |
base.bbclass: in base_contains, check for var existance before using it
When using base_contains() to check for a string in a variable for a,
if the variable is not defined an exception occurs. By checking the
existance of the variable and returning false if it isn't there,
a value can be checked for a variable regardless of whether or not it
is defined.
Signed-off-by: Brian Pomerantz <bapper@mvista.com>
Signed-off-by: Chris Larson <clarson@mvista.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Diffstat (limited to 'recipes/python/python-numpy/arm/numpyconfig.h')
0 files changed, 0 insertions, 0 deletions