From: Pascal Bach Date: Thu, 29 Jan 2015 08:52:04 +0000 (+0100) Subject: parse/ast: Fix issue if path contains '&' X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4fea138f7cef53626a40decb96207dbaf9284020;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git parse/ast: Fix issue if path contains '&' Signed-off-by: Pascal Bach Signed-off-by: Richard Purdie --- diff --git a/lib/bb/parse/ast.py b/lib/bb/parse/ast.py index 879c9d28f8e..c53ab17d686 100644 --- a/lib/bb/parse/ast.py +++ b/lib/bb/parse/ast.py @@ -139,7 +139,7 @@ class DataNode(AstNode): data.setVar(key, val, **loginfo) class MethodNode(AstNode): - tr_tbl = string.maketrans('/.+-@%', '______') + tr_tbl = string.maketrans('/.+-@%&', '_______') def __init__(self, filename, lineno, func_name, body): AstNode.__init__(self, filename, lineno)