1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 12:49:46 +00:00

bitbake: lib: remove unused imports

removed unused imports which made the code harder to read, and slightly
but less efficient

(Bitbake rev: 4367692a932ac135c5aa4f9f2a4e4f0150f76697)

Signed-off-by: Frazer Clews <frazer.clews@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Frazer Clews
2020-01-16 16:55:18 +00:00
committed by Richard Purdie
parent 444bcb6cb6
commit 0ac5174c7d
72 changed files with 36 additions and 202 deletions
-2
View File
@@ -14,8 +14,6 @@ BitBake 'Fetch' implementation for bzr.
#
import os
import sys
import logging
import bb
from bb.fetch2 import FetchMethod
from bb.fetch2 import FetchError
-1
View File
@@ -49,7 +49,6 @@ User credentials:
#
import os
import sys
import shutil
import bb
from bb.fetch2 import FetchMethod
-1
View File
@@ -14,7 +14,6 @@ BitBake build tools.
#
import os
import logging
import bb
from bb.fetch2 import FetchMethod, FetchError, MissingParameterError, logger
from bb.fetch2 import runfetchcmd
-2
View File
@@ -8,11 +8,9 @@ BitBake 'Fetch' git annex implementation
# SPDX-License-Identifier: GPL-2.0-only
#
import os
import bb
from bb.fetch2.git import Git
from bb.fetch2 import runfetchcmd
from bb.fetch2 import logger
class GitANNEX(Git):
def supports(self, ud, d):
-1
View File
@@ -24,7 +24,6 @@ from bb.fetch2.git import Git
from bb.fetch2 import runfetchcmd
from bb.fetch2 import logger
from bb.fetch2 import Fetch
from bb.fetch2 import BBFetchException
class GitSM(Git):
def supports(self, ud, d):
-2
View File
@@ -13,8 +13,6 @@ BitBake 'Fetch' implementation for mercurial DRCS (hg).
#
import os
import sys
import logging
import bb
import errno
from bb.fetch2 import FetchMethod
-1
View File
@@ -20,7 +20,6 @@ Usage in the recipe:
"""
import os
import sys
import urllib.request, urllib.parse, urllib.error
import json
import subprocess
-2
View File
@@ -7,8 +7,6 @@ Based on the svn "Fetch" implementation.
"""
import os
import sys
import logging
import bb
from bb.fetch2 import FetchMethod
-1
View File
@@ -11,7 +11,6 @@ BitBake 'Fetch' implementation for perforce
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
import os
import logging
import bb
from bb.fetch2 import FetchMethod
from bb.fetch2 import FetchError
-2
View File
@@ -32,8 +32,6 @@ IETF secsh internet draft:
import re, os
from bb.fetch2 import FetchMethod
from bb.fetch2 import FetchError
from bb.fetch2 import logger
from bb.fetch2 import runfetchcmd
-2
View File
@@ -11,8 +11,6 @@ BitBake 'Fetch' implementation for svn.
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
import os
import sys
import logging
import bb
import re
from bb.fetch2 import FetchMethod
-3
View File
@@ -14,9 +14,7 @@ BitBake build tools.
import re
import tempfile
import subprocess
import os
import logging
import errno
import bb
import bb.progress
@@ -27,7 +25,6 @@ from bb.fetch2 import FetchMethod
from bb.fetch2 import FetchError
from bb.fetch2 import logger
from bb.fetch2 import runfetchcmd
from bb.fetch2 import FetchConnectionCache
from bb.utils import export_proxies
from bs4 import BeautifulSoup
from bs4 import SoupStrainer