summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/data_smart.py
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-11-27 09:15:20 +0000
committerRichard Purdie <richard@openedhand.com>2006-11-27 09:15:20 +0000
commitedd988ecb3028ce5f5e3f804bdbda5b673ba4053 (patch)
treeb5b19bd84c160550f443abb4aaf67d7d9239ccd6 /bitbake/lib/bb/data_smart.py
parent1e95d39948bff9d890bcf275cadbf98ecffec512 (diff)
downloadpoky-edd988ecb3028ce5f5e3f804bdbda5b673ba4053.tar.gz
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
Diffstat (limited to 'bitbake/lib/bb/data_smart.py')
-rw-r--r--bitbake/lib/bb/data_smart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py
index 054b852200..d63fdde3ef 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -78,7 +78,7 @@ class DataSmart:
78 if varname and varname in self.expand_cache: 78 if varname and varname in self.expand_cache:
79 return self.expand_cache[varname] 79 return self.expand_cache[varname]
80 80
81 while s.find('$') != -1: 81 while s.find('${') != -1:
82 olds = s 82 olds = s
83 try: 83 try:
84 s = __expand_var_regexp__.sub(var_sub, s) 84 s = __expand_var_regexp__.sub(var_sub, s)