mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
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>
This commit is contained in:
parent
0012b9057f
commit
34f11b58ec
|
@ -1,4 +1,5 @@
|
||||||
import codecs
|
import codecs
|
||||||
|
import os
|
||||||
|
|
||||||
def packaged(pkg, d):
|
def packaged(pkg, d):
|
||||||
return os.access(get_subpkgedata_fn(pkg, d) + '.packaged', os.R_OK)
|
return os.access(get_subpkgedata_fn(pkg, d) + '.packaged', os.R_OK)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user