mirror of
https://git.yoctoproject.org/poky
synced 2026-10-22 07:08:19 +00:00
bitbake: Make sure regexp patterns are consistent in providers.py
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
1 parent
d02379d2df
commit
699ad056d9
2 files changed
+2
-4
No files matched your search
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user