]> code.ossystems Code Review - openembedded-core.git/commitdiff
lib/oe/packagedata: Add import os
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 31 Mar 2016 22:53:37 +0000 (23:53 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 31 Mar 2016 22:55:13 +0000 (23:55 +0100)
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>
meta/lib/oe/packagedata.py

index cd5f0445f5548938383d4223546c44611cf96d54..bc0fd06bce6118791e61663b9d2bb60028d3a7d7 100644 (file)
@@ -1,4 +1,5 @@
 import codecs
+import os
 
 def packaged(pkg, d):
     return os.access(get_subpkgedata_fn(pkg, d) + '.packaged', os.R_OK)