summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/views.py')
-rwxr-xr-xbitbake/lib/toaster/toastergui/views.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index 28b03d30b2..f3b8d3cd59 100755
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -2653,6 +2653,13 @@ if True:
2653 name=dep.depends_on.name) 2653 name=dep.depends_on.name)
2654 2654
2655 recipe.includes_set.add(cust_package) 2655 recipe.includes_set.add(cust_package)
2656 try:
2657 # when adding the pre-requisite package make sure it's not in the
2658 # excluded list from a prior removal.
2659 recipe.excludes_set.remove(cust_package)
2660 except Package.DoesNotExist:
2661 # Don't care if the package had never been excluded
2662 pass
2656 except: 2663 except:
2657 logger.warning("Could not add package's suggested" 2664 logger.warning("Could not add package's suggested"
2658 "dependencies to the list") 2665 "dependencies to the list")