diff options
author | Richard Purdie <richard@openedhand.com> | 2008-09-30 15:22:44 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-09-30 15:22:44 +0000 |
commit | d54280dd315810ad8cdbce5c52a1af3de902f6ef (patch) | |
tree | 516f1a895d86f397388bd750059b9a5a69404277 /bitbake-dev/lib/bb/providers.py | |
parent | 4e522e0d4b9b7ee18678bd08c16548b807aa7229 (diff) | |
download | poky-d54280dd315810ad8cdbce5c52a1af3de902f6ef.tar.gz |
bitbake-dev: Update against bitbake trunk
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5339 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake-dev/lib/bb/providers.py')
-rw-r--r-- | bitbake-dev/lib/bb/providers.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake-dev/lib/bb/providers.py b/bitbake-dev/lib/bb/providers.py index 0ad5876ef0..63d4f5b3cb 100644 --- a/bitbake-dev/lib/bb/providers.py +++ b/bitbake-dev/lib/bb/providers.py | |||
@@ -296,7 +296,11 @@ 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 | try: |
300 | regexp = re.compile(pattern) | ||
301 | except: | ||
302 | bb.msg.error(bb.msg.domain.Provider, "Error parsing re expression: %s" % pattern) | ||
303 | raise | ||
300 | if regexp.match(rdepend): | 304 | if regexp.match(rdepend): |
301 | rproviders += dataCache.packages_dynamic[pattern] | 305 | rproviders += dataCache.packages_dynamic[pattern] |
302 | 306 | ||