From: Ross Burton Date: Wed, 29 Jun 2016 10:58:18 +0000 (+0100) Subject: oeqa/utils/commands: fix single-character variable matching in get_bb_vars() X-Git-Tag: uninative-1.3~461 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=2f7e4d0636ce1647edf2d82c65b82be0eb2c1db1;p=openembedded-core.git oeqa/utils/commands: fix single-character variable matching in get_bb_vars() Signed-off-by: Ross Burton --- diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py index eddcf1ac8f..418643a1a6 100644 --- a/meta/lib/oeqa/utils/commands.py +++ b/meta/lib/oeqa/utils/commands.py @@ -146,8 +146,8 @@ def get_bb_vars(variables=None, target=None, postconfig=None): """Get values of multiple bitbake variables""" bbenv = get_bb_env(target, postconfig=postconfig) - var_re = re.compile(r'^(export )?(?P[a-zA-Z]\w+)="(?P.*)"$') - unset_re = re.compile(r'^unset (?P[a-zA-Z]\w+)$') + var_re = re.compile(r'^(export )?(?P\w+)="(?P.*)"$') + unset_re = re.compile(r'^unset (?P\w+)$') lastline = None values = {} for line in bbenv.splitlines():