mirror of
https://git.yoctoproject.org/poky
synced 2026-10-18 18:07:07 +00:00
classes: Remove and sanitise import statements
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
1 parent
80d55bbd6e
commit
c54117458a
31 files changed
+34
-147
No files matched your search
@@ -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