summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-09-03 11:21:49 +0000
committerRichard Purdie <richard@openedhand.com>2008-09-03 11:21:49 +0000
commitd85997f858798cc5433c80ff564a01ba1d699f84 (patch)
treeeabccddcc70b1e21a800deb94a55448f6d59c056 /bitbake
parent75df7432f45743019149940d0c42ea624f6c9d1a (diff)
downloadpoky-d85997f858798cc5433c80ff564a01ba1d699f84.tar.gz
bitbake providers.py: Sync with upstream
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5125 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/providers.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/bitbake/lib/bb/providers.py b/bitbake/lib/bb/providers.py
index 0ad5876ef0..3504efc86e 100644
--- a/bitbake/lib/bb/providers.py
+++ b/bitbake/lib/bb/providers.py
@@ -296,7 +296,12 @@ def getRuntimeProviders(dataCache, rdepend):
296 296
297 # Only search dynamic packages if we can't find anything in other variables 297 # Only search dynamic packages if we can't find anything in other variables
298 for pattern in dataCache.packages_dynamic: 298 for pattern in dataCache.packages_dynamic:
299 regexp = re.compile(pattern) 299 pattern = pattern.replace('+', "\+")
300 try:
301 regexp = re.compile(pattern)
302 except:
303 bb.msg.error(bb.msg.domain.Provider, "Error parsing re expression: %s" % pattern)
304 raise
300 if regexp.match(rdepend): 305 if regexp.match(rdepend):
301 rproviders += dataCache.packages_dynamic[pattern] 306 rproviders += dataCache.packages_dynamic[pattern]
302 307