diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2006-11-18 21:18:14 +0000 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2006-11-18 21:18:14 +0000 |
commit | ec552e1b99dcf3eb7544adc526654b9cc8b6b3f2 (patch) | |
tree | 7925d92c3d81059ebb45f568145f26625556ab80 /lib/bb/data.py | |
parent | 1f554840eb45e8642db00c36ec9303e239575c14 (diff) | |
download | bitbake-ec552e1b99dcf3eb7544adc526654b9cc8b6b3f2.tar.gz |
Hack to avoid 3 million key expansions by a simple string match
Diffstat (limited to 'lib/bb/data.py')
-rw-r--r-- | lib/bb/data.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bb/data.py b/lib/bb/data.py index f3a43bcc7..707d2806f 100644 --- a/lib/bb/data.py +++ b/lib/bb/data.py @@ -271,6 +271,9 @@ def expandKeys(alterdata, readdata = None): readdata = alterdata for key in keys(alterdata): + if not '${' in key: + continue + ekey = expand(key, readdata) if key == ekey: continue |