diff options
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index edceca00ed..8592d234a3 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1080,7 +1080,7 @@ class BBCooker: | |||
1080 | 1080 | ||
1081 | for pfn in self.recipecache.pkg_fn: | 1081 | for pfn in self.recipecache.pkg_fn: |
1082 | inherits = self.recipecache.inherits.get(pfn, None) | 1082 | inherits = self.recipecache.inherits.get(pfn, None) |
1083 | if inherits and inherits.count(klass) > 0: | 1083 | if inherits and klass in inherits: |
1084 | pkg_list.append(self.recipecache.pkg_fn[pfn]) | 1084 | pkg_list.append(self.recipecache.pkg_fn[pfn]) |
1085 | 1085 | ||
1086 | return pkg_list | 1086 | return pkg_list |