diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-08 22:32:43 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-13 12:15:28 +0000 |
commit | c54117458a19d05d404ec00907a8f3e9c73a416b (patch) | |
tree | 6cc5695742a1198668b022b35c8b2a456c4f3f4f /meta/classes/sourcepkg.bbclass | |
parent | 80d55bbd6ea2ff93510f3b87ea97322b0b02eaa8 (diff) | |
download | poky-c54117458a19d05d404ec00907a8f3e9c73a416b.tar.gz |
classes: Remove and sanitise import statements
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/sourcepkg.bbclass')
-rw-r--r-- | meta/classes/sourcepkg.bbclass | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/classes/sourcepkg.bbclass b/meta/classes/sourcepkg.bbclass index 390d3684d4..f738553039 100644 --- a/meta/classes/sourcepkg.bbclass +++ b/meta/classes/sourcepkg.bbclass | |||
@@ -5,8 +5,6 @@ EXCLUDE_FROM ?= ".pc autom4te.cache" | |||
5 | DISTRO ?= "openembedded" | 5 | DISTRO ?= "openembedded" |
6 | 6 | ||
7 | def get_src_tree(d): | 7 | def get_src_tree(d): |
8 | import bb | ||
9 | import os, os.path | ||
10 | 8 | ||
11 | workdir = bb.data.getVar('WORKDIR', d, 1) | 9 | workdir = bb.data.getVar('WORKDIR', d, 1) |
12 | if not workdir: | 10 | if not workdir: |
@@ -56,8 +54,6 @@ sourcepkg_do_archive_bb() { | |||
56 | } | 54 | } |
57 | 55 | ||
58 | python sourcepkg_do_dumpdata() { | 56 | python sourcepkg_do_dumpdata() { |
59 | import os | ||
60 | import os.path | ||
61 | 57 | ||
62 | workdir = bb.data.getVar('WORKDIR', d, 1) | 58 | workdir = bb.data.getVar('WORKDIR', d, 1) |
63 | distro = bb.data.getVar('DISTRO', d, 1) | 59 | distro = bb.data.getVar('DISTRO', d, 1) |