diff options
author | Pascal Bach <pascal.bach@siemens.com> | 2015-01-29 09:52:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-29 22:11:35 +0000 |
commit | 087424d925d1d9207b7ffa1483bf5f39ef035c5c (patch) | |
tree | a7d67744157cc2e8758a1f9bf3769b2fe85d8ee3 | |
parent | 4f7182775cfa39c589e2e4693b1769127d7dd4d4 (diff) | |
download | poky-087424d925d1d9207b7ffa1483bf5f39ef035c5c.tar.gz |
bitbake: parse/ast: Fix issue if path contains '&'
(Bitbake rev: 4fea138f7cef53626a40decb96207dbaf9284020)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/parse/ast.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py index 879c9d28f8..c53ab17d68 100644 --- a/bitbake/lib/bb/parse/ast.py +++ b/bitbake/lib/bb/parse/ast.py | |||
@@ -139,7 +139,7 @@ class DataNode(AstNode): | |||
139 | data.setVar(key, val, **loginfo) | 139 | data.setVar(key, val, **loginfo) |
140 | 140 | ||
141 | class MethodNode(AstNode): | 141 | class MethodNode(AstNode): |
142 | tr_tbl = string.maketrans('/.+-@%', '______') | 142 | tr_tbl = string.maketrans('/.+-@%&', '_______') |
143 | 143 | ||
144 | def __init__(self, filename, lineno, func_name, body): | 144 | def __init__(self, filename, lineno, func_name, body): |
145 | AstNode.__init__(self, filename, lineno) | 145 | AstNode.__init__(self, filename, lineno) |