diff options
author | Ross Burton <ross.burton@arm.com> | 2023-10-19 14:40:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-19 14:53:45 +0100 |
commit | 4cea51a9addeae3a7bd054dcfa34c59ccda31099 (patch) | |
tree | 94e0d7725f36cabaa2223a777b1972f02392cda9 | |
parent | 4ba54e29ffa6e3dbfcb92752a759b805a2591a09 (diff) | |
download | poky-4cea51a9addeae3a7bd054dcfa34c59ccda31099.tar.gz |
patchtest: remove unused imports
(From OE-Core rev: be8429d986335aae65c2426862b97836ba46e42a)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/patchtest/data.py | 1 | ||||
-rw-r--r-- | meta/lib/patchtest/repo.py | 1 | ||||
-rw-r--r-- | meta/lib/patchtest/tests/test_mbox_cve.py | 1 | ||||
-rw-r--r-- | meta/lib/patchtest/tests/test_mbox_mailinglist.py | 1 | ||||
-rw-r--r-- | meta/lib/patchtest/tests/test_metadata_src_uri.py | 1 | ||||
-rw-r--r-- | meta/lib/patchtest/tests/test_patch_cve.py | 1 | ||||
-rw-r--r-- | meta/lib/patchtest/tests/test_patch_upstream_status.py | 1 | ||||
-rw-r--r-- | meta/lib/patchtest/utils.py | 1 | ||||
-rwxr-xr-x | scripts/patchtest | 1 | ||||
-rwxr-xr-x | scripts/patchtest-get-branch | 1 |
10 files changed, 0 insertions, 10 deletions
diff --git a/meta/lib/patchtest/data.py b/meta/lib/patchtest/data.py index 25a9a57dfb..356259921d 100644 --- a/meta/lib/patchtest/data.py +++ b/meta/lib/patchtest/data.py | |||
@@ -16,7 +16,6 @@ | |||
16 | import os | 16 | import os |
17 | import argparse | 17 | import argparse |
18 | import collections | 18 | import collections |
19 | import tempfile | ||
20 | import logging | 19 | import logging |
21 | 20 | ||
22 | logger=logging.getLogger('patchtest') | 21 | logger=logging.getLogger('patchtest') |
diff --git a/meta/lib/patchtest/repo.py b/meta/lib/patchtest/repo.py index 8a11af5fd6..d3788f466d 100644 --- a/meta/lib/patchtest/repo.py +++ b/meta/lib/patchtest/repo.py | |||
@@ -11,7 +11,6 @@ | |||
11 | import os | 11 | import os |
12 | import utils | 12 | import utils |
13 | import logging | 13 | import logging |
14 | import json | ||
15 | from patch import PatchTestPatch | 14 | from patch import PatchTestPatch |
16 | 15 | ||
17 | logger = logging.getLogger('patchtest') | 16 | logger = logging.getLogger('patchtest') |
diff --git a/meta/lib/patchtest/tests/test_mbox_cve.py b/meta/lib/patchtest/tests/test_mbox_cve.py index 31faeb5ef5..29ab12cbb5 100644 --- a/meta/lib/patchtest/tests/test_mbox_cve.py +++ b/meta/lib/patchtest/tests/test_mbox_cve.py | |||
@@ -6,7 +6,6 @@ | |||
6 | # | 6 | # |
7 | 7 | ||
8 | import base | 8 | import base |
9 | import os | ||
10 | import parse_cve_tags | 9 | import parse_cve_tags |
11 | import pyparsing | 10 | import pyparsing |
12 | 11 | ||
diff --git a/meta/lib/patchtest/tests/test_mbox_mailinglist.py b/meta/lib/patchtest/tests/test_mbox_mailinglist.py index 0ffb6056c0..feff436089 100644 --- a/meta/lib/patchtest/tests/test_mbox_mailinglist.py +++ b/meta/lib/patchtest/tests/test_mbox_mailinglist.py | |||
@@ -4,7 +4,6 @@ | |||
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0-only | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import subprocess | ||
8 | import collections | 7 | import collections |
9 | import base | 8 | import base |
10 | import pyparsing | 9 | import pyparsing |
diff --git a/meta/lib/patchtest/tests/test_metadata_src_uri.py b/meta/lib/patchtest/tests/test_metadata_src_uri.py index 01d8a45103..87a24ea937 100644 --- a/meta/lib/patchtest/tests/test_metadata_src_uri.py +++ b/meta/lib/patchtest/tests/test_metadata_src_uri.py | |||
@@ -4,7 +4,6 @@ | |||
4 | # | 4 | # |
5 | # SPDX-License-Identifier: GPL-2.0-only | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import subprocess | ||
8 | import base | 7 | import base |
9 | import os | 8 | import os |
10 | import pyparsing | 9 | import pyparsing |
diff --git a/meta/lib/patchtest/tests/test_patch_cve.py b/meta/lib/patchtest/tests/test_patch_cve.py index c0c7e742ee..c77848de45 100644 --- a/meta/lib/patchtest/tests/test_patch_cve.py +++ b/meta/lib/patchtest/tests/test_patch_cve.py | |||
@@ -6,7 +6,6 @@ | |||
6 | # | 6 | # |
7 | 7 | ||
8 | import base | 8 | import base |
9 | import os | ||
10 | import pyparsing | 9 | import pyparsing |
11 | 10 | ||
12 | class CVE(base.Base): | 11 | class CVE(base.Base): |
diff --git a/meta/lib/patchtest/tests/test_patch_upstream_status.py b/meta/lib/patchtest/tests/test_patch_upstream_status.py index 957817ba8d..a5b278304e 100644 --- a/meta/lib/patchtest/tests/test_patch_upstream_status.py +++ b/meta/lib/patchtest/tests/test_patch_upstream_status.py | |||
@@ -7,7 +7,6 @@ | |||
7 | import base | 7 | import base |
8 | import parse_upstream_status | 8 | import parse_upstream_status |
9 | import pyparsing | 9 | import pyparsing |
10 | import os | ||
11 | 10 | ||
12 | class PatchUpstreamStatus(base.Base): | 11 | class PatchUpstreamStatus(base.Base): |
13 | 12 | ||
diff --git a/meta/lib/patchtest/utils.py b/meta/lib/patchtest/utils.py index 8dcac30941..a4a523b4e2 100644 --- a/meta/lib/patchtest/utils.py +++ b/meta/lib/patchtest/utils.py | |||
@@ -11,7 +11,6 @@ | |||
11 | import os | 11 | import os |
12 | import subprocess | 12 | import subprocess |
13 | import logging | 13 | import logging |
14 | import sys | ||
15 | import re | 14 | import re |
16 | import mailbox | 15 | import mailbox |
17 | 16 | ||
diff --git a/scripts/patchtest b/scripts/patchtest index be40e4b2a4..b71345d828 100755 --- a/scripts/patchtest +++ b/scripts/patchtest | |||
@@ -12,7 +12,6 @@ | |||
12 | import sys | 12 | import sys |
13 | import os | 13 | import os |
14 | import unittest | 14 | import unittest |
15 | import fileinput | ||
16 | import logging | 15 | import logging |
17 | import traceback | 16 | import traceback |
18 | import json | 17 | import json |
diff --git a/scripts/patchtest-get-branch b/scripts/patchtest-get-branch index 962f572b20..b5fb2b0f04 100755 --- a/scripts/patchtest-get-branch +++ b/scripts/patchtest-get-branch | |||
@@ -15,7 +15,6 @@ import mailbox | |||
15 | import argparse | 15 | import argparse |
16 | import re | 16 | import re |
17 | import git | 17 | import git |
18 | import sys | ||
19 | 18 | ||
20 | re_prefix = re.compile("(\[.*\])", re.DOTALL) | 19 | re_prefix = re.compile("(\[.*\])", re.DOTALL) |
21 | 20 | ||