summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/layerindexlib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/layerindexlib')
-rw-r--r--bitbake/lib/layerindexlib/cooker.py3
-rw-r--r--bitbake/lib/layerindexlib/plugin.py3
-rw-r--r--bitbake/lib/layerindexlib/tests/cooker.py3
-rw-r--r--bitbake/lib/layerindexlib/tests/layerindexobj.py6
-rw-r--r--bitbake/lib/layerindexlib/tests/restapi.py3
5 files changed, 1 insertions, 17 deletions
diff --git a/bitbake/lib/layerindexlib/cooker.py b/bitbake/lib/layerindexlib/cooker.py
index 604a9611dd..4ce397d884 100644
--- a/bitbake/lib/layerindexlib/cooker.py
+++ b/bitbake/lib/layerindexlib/cooker.py
@@ -4,9 +4,8 @@
4# 4#
5 5
6import logging 6import logging
7import json
8 7
9from collections import OrderedDict, defaultdict 8from collections import defaultdict
10 9
11from urllib.parse import unquote, urlparse 10from urllib.parse import unquote, urlparse
12 11
diff --git a/bitbake/lib/layerindexlib/plugin.py b/bitbake/lib/layerindexlib/plugin.py
index 7015a1af26..cadda36c74 100644
--- a/bitbake/lib/layerindexlib/plugin.py
+++ b/bitbake/lib/layerindexlib/plugin.py
@@ -7,10 +7,7 @@
7# Plugin base class 7# Plugin base class
8# Utility Functions for working on layerindex data 8# Utility Functions for working on layerindex data
9 9
10import argparse
11import logging 10import logging
12import os
13import bb.msg
14 11
15logger = logging.getLogger('BitBake.layerindexlib.plugin') 12logger = logging.getLogger('BitBake.layerindexlib.plugin')
16 13
diff --git a/bitbake/lib/layerindexlib/tests/cooker.py b/bitbake/lib/layerindexlib/tests/cooker.py
index 1fa102e602..1d0685e099 100644
--- a/bitbake/lib/layerindexlib/tests/cooker.py
+++ b/bitbake/lib/layerindexlib/tests/cooker.py
@@ -3,15 +3,12 @@
3# SPDX-License-Identifier: GPL-2.0-only 3# SPDX-License-Identifier: GPL-2.0-only
4# 4#
5 5
6import unittest
7import tempfile
8import os 6import os
9import bb 7import bb
10 8
11import layerindexlib 9import layerindexlib
12from layerindexlib.tests.common import LayersTest 10from layerindexlib.tests.common import LayersTest
13 11
14import logging
15 12
16class LayerIndexCookerTest(LayersTest): 13class LayerIndexCookerTest(LayersTest):
17 14
diff --git a/bitbake/lib/layerindexlib/tests/layerindexobj.py b/bitbake/lib/layerindexlib/tests/layerindexobj.py
index 0c5ec8881b..de1e474687 100644
--- a/bitbake/lib/layerindexlib/tests/layerindexobj.py
+++ b/bitbake/lib/layerindexlib/tests/layerindexobj.py
@@ -3,14 +3,8 @@
3# SPDX-License-Identifier: GPL-2.0-only 3# SPDX-License-Identifier: GPL-2.0-only
4# 4#
5 5
6import unittest
7import tempfile
8import os
9import bb
10
11from layerindexlib.tests.common import LayersTest 6from layerindexlib.tests.common import LayersTest
12 7
13import logging
14 8
15class LayerIndexObjectsTest(LayersTest): 9class LayerIndexObjectsTest(LayersTest):
16 def setUp(self): 10 def setUp(self):
diff --git a/bitbake/lib/layerindexlib/tests/restapi.py b/bitbake/lib/layerindexlib/tests/restapi.py
index 6d8dc0058e..e5ccafe5c9 100644
--- a/bitbake/lib/layerindexlib/tests/restapi.py
+++ b/bitbake/lib/layerindexlib/tests/restapi.py
@@ -4,14 +4,11 @@
4# 4#
5 5
6import unittest 6import unittest
7import tempfile
8import os 7import os
9import bb
10 8
11import layerindexlib 9import layerindexlib
12from layerindexlib.tests.common import LayersTest 10from layerindexlib.tests.common import LayersTest
13 11
14import logging
15 12
16def skipIfNoNetwork(): 13def skipIfNoNetwork():
17 if os.environ.get("BB_SKIP_NETTESTS") == "yes": 14 if os.environ.get("BB_SKIP_NETTESTS") == "yes":