bitbake: lib: Remove double imports

* Remove double imports mentioned by pylint

(Bitbake rev: 741db6719efca5aa9ef2c15e60cdd624e4aa1a8d)

Signed-off-by: Michael Estner <michaelestner@web.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Michael Estner
2025-02-25 19:34:25 +01:00
committed by Richard Purdie
parent ff8898d10b
commit e1836b205a
12 changed files with 2 additions and 15 deletions

View File

@@ -817,7 +817,6 @@ class Git(FetchMethod):
"""
Return True if git-lfs can be found, False otherwise.
"""
import shutil
return shutil.which("git-lfs", path=d.getVar('PATH')) is not None
def _get_repo_url(self, ud):

View File

@@ -264,7 +264,7 @@ class GitSM(Git):
Git.clean(self, ud, d)
def implicit_urldata(self, ud, d):
import shutil, subprocess, tempfile
import subprocess
urldata = []
def add_submodule(ud, url, module, modpath, workdir, d):