Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] lib/oe/packagedata: Add import os
@ 2016-03-31 22:53 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2016-03-31 22:53 UTC (permalink / raw)
  To: openembedded-core

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>

diff --git a/meta/lib/oe/packagedata.py b/meta/lib/oe/packagedata.py
index cd5f044..bc0fd06 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)




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-03-31 22:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-31 22:53 [PATCH] lib/oe/packagedata: Add import os Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox