mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
data_smart.py: micro optimisation from bitbake trunk
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@963 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -78,7 +78,7 @@ class DataSmart:
|
|||||||
if varname and varname in self.expand_cache:
|
if varname and varname in self.expand_cache:
|
||||||
return self.expand_cache[varname]
|
return self.expand_cache[varname]
|
||||||
|
|
||||||
while s.find('$') != -1:
|
while s.find('${') != -1:
|
||||||
olds = s
|
olds = s
|
||||||
try:
|
try:
|
||||||
s = __expand_var_regexp__.sub(var_sub, s)
|
s = __expand_var_regexp__.sub(var_sub, s)
|
||||||
|
|||||||
Reference in New Issue
Block a user