projects
/
vuplus_bitbake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81ca79c
)
data_smart: Micro optimisation - search for "${" instead of "$"
author
Richard Purdie
<rpurdie@linux.intel.com>
Sat, 25 Nov 2006 21:44:14 +0000
(21:44 +0000)
committer
Richard Purdie
<rpurdie@linux.intel.com>
Sat, 25 Nov 2006 21:44:14 +0000
(21:44 +0000)
lib/bb/data_smart.py
patch
|
blob
|
history
diff --git
a/lib/bb/data_smart.py
b/lib/bb/data_smart.py
index
054b852
..
d63fdde
100644
(file)
--- a/
lib/bb/data_smart.py
+++ b/
lib/bb/data_smart.py
@@
-78,7
+78,7
@@
class DataSmart:
if varname and varname in self.expand_cache:
return self.expand_cache[varname]
- while s.find('$') != -1:
+ while s.find('$
{
') != -1:
olds = s
try:
s = __expand_var_regexp__.sub(var_sub, s)