diff options
Diffstat (limited to 'meta/lib/oe/package_manager.py')
| -rw-r--r-- | meta/lib/oe/package_manager.py | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 5cd43e9b1d..b701b8c51b 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
| @@ -418,11 +418,15 @@ class RpmPkgsList(PkgsList): | |||
| 418 | 418 | ||
| 419 | # Populate deps dictionary for better manipulation | 419 | # Populate deps dictionary for better manipulation |
| 420 | for line in dependencies.splitlines(): | 420 | for line in dependencies.splitlines(): |
| 421 | pkg, dep = line.split("|") | 421 | try: |
| 422 | if not pkg in deps: | 422 | pkg, dep = line.split("|") |
| 423 | deps[pkg] = list() | 423 | if not pkg in deps: |
| 424 | if not dep in deps[pkg]: | 424 | deps[pkg] = list() |
| 425 | deps[pkg].append(dep) | 425 | if not dep in deps[pkg]: |
| 426 | deps[pkg].append(dep) | ||
| 427 | except: | ||
| 428 | # Ignore any other lines they're debug or errors | ||
| 429 | pass | ||
| 426 | 430 | ||
| 427 | for line in tmp_output.split('\n'): | 431 | for line in tmp_output.split('\n'): |
| 428 | if len(line.strip()) == 0: | 432 | if len(line.strip()) == 0: |
