diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-31 23:53:37 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-01 07:14:30 +0100 |
commit | 34f11b58ecbb52d25f131231c1df7f69d1c85c9c (patch) | |
tree | c405759971ae0ff8c5d55c0fce919c8e51254af8 /meta/lib | |
parent | 0012b9057fea506fd6bc8a063166550931668e04 (diff) | |
download | poky-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')
-rw-r--r-- | meta/lib/oe/packagedata.py | 1 |
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 @@ | |||
1 | import codecs | 1 | import codecs |
2 | import os | ||
2 | 3 | ||
3 | def packaged(pkg, d): | 4 | def 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) |