mirror of
https://git.yoctoproject.org/poky
synced 2026-03-25 19:02:23 +01:00
classes: Remove and sanitise import statements
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -5,8 +5,6 @@ EXCLUDE_FROM ?= ".pc autom4te.cache"
|
||||
DISTRO ?= "openembedded"
|
||||
|
||||
def get_src_tree(d):
|
||||
import bb
|
||||
import os, os.path
|
||||
|
||||
workdir = bb.data.getVar('WORKDIR', d, 1)
|
||||
if not workdir:
|
||||
@@ -56,8 +54,6 @@ sourcepkg_do_archive_bb() {
|
||||
}
|
||||
|
||||
python sourcepkg_do_dumpdata() {
|
||||
import os
|
||||
import os.path
|
||||
|
||||
workdir = bb.data.getVar('WORKDIR', d, 1)
|
||||
distro = bb.data.getVar('DISTRO', d, 1)
|
||||
|
||||
Reference in New Issue
Block a user