utils.bbclass: add missing import of oe.process
authorChris Larson <chris_larson@mentor.com>
Thu, 14 Oct 2010 00:39:58 +0000 (17:39 -0700)
committerChris Larson <chris_larson@mentor.com>
Thu, 14 Oct 2010 00:39:58 +0000 (17:39 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
classes/utils.bbclass

index 82beeb9..24ff321 100644 (file)
@@ -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)