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:
Richard Purdie 2006-11-27 09:15:20 +00:00
parent 1e95d39948
commit edd988ecb3
1 changed files with 1 additions and 1 deletions

View File

@ -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)