summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
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/classes/base.bbclass
parenta0fe51bcfae7de15a4a5680b4fbe8ba77323cf49 (diff)
downloadpoky-e1fcc01376f74c1a1f43e5aeb7a1813325b7f263.tar.gz
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/classes/base.bbclass')
-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 c8330db465..2e8f3f08fb 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -892,7 +892,7 @@ def has_subpkgdata(pkg, d):
892 return os.access(get_subpkgedata_fn(pkg, d), os.R_OK) 892 return os.access(get_subpkgedata_fn(pkg, d), os.R_OK)
893 893
894def read_subpkgdata(pkg, d): 894def read_subpkgdata(pkg, d):
895 import bb, os 895 import bb
896 return read_pkgdatafile(get_subpkgedata_fn(pkg, d)) 896 return read_pkgdatafile(get_subpkgedata_fn(pkg, d))
897 897
898def has_pkgdata(pn, d): 898def has_pkgdata(pn, d):
@@ -901,7 +901,7 @@ def has_pkgdata(pn, d):
901 return os.access(fn, os.R_OK) 901 return os.access(fn, os.R_OK)
902 902
903def read_pkgdata(pn, d): 903def read_pkgdata(pn, d):
904 import bb, os 904 import bb
905 fn = bb.data.expand('${PKGDATA_DIR}/%s' % pn, d) 905 fn = bb.data.expand('${PKGDATA_DIR}/%s' % pn, d)
906 return read_pkgdatafile(fn) 906 return read_pkgdatafile(fn)
907 907