From edd988ecb3028ce5f5e3f804bdbda5b673ba4053 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 27 Nov 2006 09:15:20 +0000 Subject: 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 --- bitbake/lib/bb/data_smart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake') 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: 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) -- cgit v1.2.3