summaryrefslogtreecommitdiff
path: root/bitbake-dev/lib/bb/providers.py
diff options
context:
space:
mode:
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):
# Only search dynamic packages if we can't find anything in other variables
for pattern in dataCache.packages_dynamic:
-
+ pattern = pattern.replace('+', "\+")
if pattern in regexp_cache:
regexp = regexp_cache[pattern]
else:
- pattern = pattern.replace('+', "\+")
try:
regexp = re.compile(pattern)
except: