diff options
Diffstat (limited to 'bitbake/lib/layerindexlib')
-rw-r--r-- | bitbake/lib/layerindexlib/cooker.py | 3 | ||||
-rw-r--r-- | bitbake/lib/layerindexlib/plugin.py | 3 | ||||
-rw-r--r-- | bitbake/lib/layerindexlib/tests/cooker.py | 3 | ||||
-rw-r--r-- | bitbake/lib/layerindexlib/tests/layerindexobj.py | 6 | ||||
-rw-r--r-- | bitbake/lib/layerindexlib/tests/restapi.py | 3 |
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 | ||
6 | import logging | 6 | import logging |
7 | import json | ||
8 | 7 | ||
9 | from collections import OrderedDict, defaultdict | 8 | from collections import defaultdict |
10 | 9 | ||
11 | from urllib.parse import unquote, urlparse | 10 | from 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 | ||
10 | import argparse | ||
11 | import logging | 10 | import logging |
12 | import os | ||
13 | import bb.msg | ||
14 | 11 | ||
15 | logger = logging.getLogger('BitBake.layerindexlib.plugin') | 12 | logger = 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 | ||
6 | import unittest | ||
7 | import tempfile | ||
8 | import os | 6 | import os |
9 | import bb | 7 | import bb |
10 | 8 | ||
11 | import layerindexlib | 9 | import layerindexlib |
12 | from layerindexlib.tests.common import LayersTest | 10 | from layerindexlib.tests.common import LayersTest |
13 | 11 | ||
14 | import logging | ||
15 | 12 | ||
16 | class LayerIndexCookerTest(LayersTest): | 13 | class 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 | ||
6 | import unittest | ||
7 | import tempfile | ||
8 | import os | ||
9 | import bb | ||
10 | |||
11 | from layerindexlib.tests.common import LayersTest | 6 | from layerindexlib.tests.common import LayersTest |
12 | 7 | ||
13 | import logging | ||
14 | 8 | ||
15 | class LayerIndexObjectsTest(LayersTest): | 9 | class 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 | ||
6 | import unittest | 6 | import unittest |
7 | import tempfile | ||
8 | import os | 7 | import os |
9 | import bb | ||
10 | 8 | ||
11 | import layerindexlib | 9 | import layerindexlib |
12 | from layerindexlib.tests.common import LayersTest | 10 | from layerindexlib.tests.common import LayersTest |
13 | 11 | ||
14 | import logging | ||
15 | 12 | ||
16 | def skipIfNoNetwork(): | 13 | def skipIfNoNetwork(): |
17 | if os.environ.get("BB_SKIP_NETTESTS") == "yes": | 14 | if os.environ.get("BB_SKIP_NETTESTS") == "yes": |