summaryrefslogtreecommitdiffstats
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-03-31 23:55:13 +0100
commitda4df2313c8df92cf321a7631a9a389f895d4615 (patch)
treec77e5928ce0fddf0f27f97854627e5e0bb69361a
parent32a1df86877cd8e70baccd858847fa927508f159 (diff)
downloadopenembedded-core-contrib-da4df2313c8df92cf321a7631a9a389f895d4615.tar.gz
openembedded-core-contrib-da4df2313c8df92cf321a7631a9a389f895d4615.tar.bz2
openembedded-core-contrib-da4df2313c8df92cf321a7631a9a389f895d4615.zip
lib/oe/packagedata: Add import os
So that the packagedata module can be used externally to the core OE environment, add a missing import. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 @@
import codecs
+import os
def packaged(pkg, d):
return os.access(get_subpkgedata_fn(pkg, d) + '.packaged', os.R_OK)