From: Chris Larson Date: Thu, 14 Oct 2010 00:39:58 +0000 (-0700) Subject: utils.bbclass: add missing import of oe.process X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d021e2b933c13f9b2028207a6db0858c1fbb4359;p=openembedded.git utils.bbclass: add missing import of oe.process Signed-off-by: Chris Larson --- diff --git a/classes/utils.bbclass b/classes/utils.bbclass index 82beeb964e..24ff321e71 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)