summaryrefslogtreecommitdiffstats
path: root/bitbake-dev/lib/bb/providers.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-07-23 16:20:02 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-07-23 16:20:02 +0100
commit699ad056d9b6ca98046b301c56170ed27c3d6f15 (patch)
tree085dd4e61bbc7a44b69bcdb1b3f82ff9c406d232 /bitbake-dev/lib/bb/providers.py
parentd02379d2df13801cde08a32fde5deec8201538d2 (diff)
downloadpoky-699ad056d9b6ca98046b301c56170ed27c3d6f15.tar.gz
bitbake: Make sure regexp patterns are consistent in providers.py
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake-dev/lib/bb/providers.py')
-rw-r--r--bitbake-dev/lib/bb/providers.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake-dev/lib/bb/providers.py b/bitbake-dev/lib/bb/providers.py
index 879f1a00b2..8970fb3be1 100644
--- a/bitbake-dev/lib/bb/providers.py
+++ b/bitbake-dev/lib/bb/providers.py
@@ -299,11 +299,10 @@ def getRuntimeProviders(dataCache, rdepend):
299 299
300 # Only search dynamic packages if we can't find anything in other variables 300 # Only search dynamic packages if we can't find anything in other variables
301 for pattern in dataCache.packages_dynamic: 301 for pattern in dataCache.packages_dynamic:
302 302 pattern = pattern.replace('+', "\+")
303 if pattern in regexp_cache: 303 if pattern in regexp_cache:
304 regexp = regexp_cache[pattern] 304 regexp = regexp_cache[pattern]
305 else: 305 else:
306 pattern = pattern.replace('+', "\+")
307 try: 306 try:
308 regexp = re.compile(pattern) 307 regexp = re.compile(pattern)
309 except: 308 except: