summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/packagedata.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-31 23:53:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-01 07:14:30 +0100
commit34f11b58ecbb52d25f131231c1df7f69d1c85c9c (patch)
treec405759971ae0ff8c5d55c0fce919c8e51254af8 /meta/lib/oe/packagedata.py
parent0012b9057fea506fd6bc8a063166550931668e04 (diff)
downloadpoky-34f11b58ecbb52d25f131231c1df7f69d1c85c9c.tar.gz
lib/oe/packagedata: Add import os
So that the packagedata module can be used externally to the core OE environment, add a missing import. (From OE-Core rev: da4df2313c8df92cf321a7631a9a389f895d4615) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/packagedata.py')
-rw-r--r--meta/lib/oe/packagedata.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oe/packagedata.py b/meta/lib/oe/packagedata.py
index cd5f0445f5..bc0fd06bce 100644
--- a/meta/lib/oe/packagedata.py
+++ b/meta/lib/oe/packagedata.py
@@ -1,4 +1,5 @@
1import codecs 1import codecs
2import os
2 3
3def packaged(pkg, d): 4def packaged(pkg, d):
4 return os.access(get_subpkgedata_fn(pkg, d) + '.packaged', os.R_OK) 5 return os.access(get_subpkgedata_fn(pkg, d) + '.packaged', os.R_OK)