[oe-commits] [openembedded-core] 80/83: oeqa/utils/commands: fix single-character variable matching in get_bb_vars()

git at git.openembedded.org git at git.openembedded.org
Fri Jul 1 15:32:48 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 2f7e4d0636ce1647edf2d82c65b82be0eb2c1db1
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Wed Jun 29 11:58:18 2016 +0100

    oeqa/utils/commands: fix single-character variable matching in get_bb_vars()
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/lib/oeqa/utils/commands.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py
index eddcf1a..418643a 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<var>[a-zA-Z]\w+)="(?P<value>.*)"$')
-    unset_re = re.compile(r'^unset (?P<var>[a-zA-Z]\w+)$')
+    var_re = re.compile(r'^(export )?(?P<var>\w+)="(?P<value>.*)"$')
+    unset_re = re.compile(r'^unset (?P<var>\w+)$')
     lastline = None
     values = {}
     for line in bbenv.splitlines():

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list