projects
/
vuplus_bitbake
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
data_smart: Micro optimisation - search for "${" instead of "$"
[vuplus_bitbake]
/
lib
/
bb
/
data_smart.py
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)