[oe-commits] Chris Larson : utils.bbclass: add missing import of oe.process

git version control git at git.openembedded.org
Thu Oct 14 00:42:28 UTC 2010


Module: openembedded.git
Branch: master
Commit: d021e2b933c13f9b2028207a6db0858c1fbb4359
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d021e2b933c13f9b2028207a6db0858c1fbb4359

Author: Chris Larson <chris_larson at mentor.com>
Date:   Wed Oct 13 17:39:58 2010 -0700

utils.bbclass: add missing import of oe.process

Signed-off-by: Chris Larson <chris_larson at mentor.com>

---

 classes/utils.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/classes/utils.bbclass b/classes/utils.bbclass
index 82beeb9..24ff321 100644
--- a/classes/utils.bbclass
+++ b/classes/utils.bbclass
@@ -68,10 +68,12 @@ def oe_popen_env(d):
     return env
 
 def oe_run(d, cmd, **kwargs):
+    import oe.process
     kwargs["env"] = oe_popen_env(d)
     return oe.process.run(cmd, **kwargs)
 
 def oe_popen(d, cmd, **kwargs):
+    import oe.process
     kwargs["env"] = oe_popen_env(d)
     return oe.process.popen(cmd, **kwargs)
 





More information about the Openembedded-commits mailing list