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:
parent
1e95d39948
commit
edd988ecb3
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue