summaryrefslogtreecommitdiff
path: root/poky/bitbake/lib/layerindexlib/cooker.py
diff options
context:
space:
mode:
Diffstat (limited to 'poky/bitbake/lib/layerindexlib/cooker.py')
-rw-r--r--poky/bitbake/lib/layerindexlib/cooker.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/poky/bitbake/lib/layerindexlib/cooker.py b/poky/bitbake/lib/layerindexlib/cooker.py
index 604a9611d..65b23d087 100644
--- a/poky/bitbake/lib/layerindexlib/cooker.py
+++ b/poky/bitbake/lib/layerindexlib/cooker.py
@@ -4,9 +4,8 @@
#
import logging
-import json
-from collections import OrderedDict, defaultdict
+from collections import defaultdict
from urllib.parse import unquote, urlparse
@@ -94,7 +93,7 @@ class CookerPlugin(layerindexlib.plugin.IndexPlugin):
return index
collections = d.getVar('BBFILE_COLLECTIONS')
- layerconfs = d.varhistory.get_variable_items_files('BBFILE_COLLECTIONS', d)
+ layerconfs = d.varhistory.get_variable_items_files('BBFILE_COLLECTIONS')
bbfile_collections = {layer: os.path.dirname(os.path.dirname(path)) for layer, path in layerconfs.items()}
(_, bb_branch, _, _) = self._get_bitbake_info()