summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-04-27 20:41:01 +0000
committerRichard Purdie <richard@openedhand.com>2008-04-27 20:41:01 +0000
commite1fcc01376f74c1a1f43e5aeb7a1813325b7f263 (patch)
tree014dcd46b144dc7e20ba13a168f70d31890b770b /meta
parenta0fe51bcfae7de15a4a5680b4fbe8ba77323cf49 (diff)
downloadopenembedded-core-e1fcc01376f74c1a1f43e5aeb7a1813325b7f263.tar.gz
openembedded-core-e1fcc01376f74c1a1f43e5aeb7a1813325b7f263.tar.bz2
openembedded-core-e1fcc01376f74c1a1f43e5aeb7a1813325b7f263.tar.xz
openembedded-core-e1fcc01376f74c1a1f43e5aeb7a1813325b7f263.zip
base.bbclass: Remove unneeded imports
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4356 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/base.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index c8330db46..2e8f3f08f 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -892,7 +892,7 @@ def has_subpkgdata(pkg, d):
return os.access(get_subpkgedata_fn(pkg, d), os.R_OK)
def read_subpkgdata(pkg, d):
- import bb, os
+ import bb
return read_pkgdatafile(get_subpkgedata_fn(pkg, d))
def has_pkgdata(pn, d):
@@ -901,7 +901,7 @@ def has_pkgdata(pn, d):
return os.access(fn, os.R_OK)
def read_pkgdata(pn, d):
- import bb, os
+ import bb
fn = bb.data.expand('${PKGDATA_DIR}/%s' % pn, d)
return read_pkgdatafile(fn)