From: Khem Raj Date: Wed, 26 Aug 2009 07:38:30 +0000 (-0700) Subject: base.bbclass: Remove redundant import of subprocess and signal. X-Git-Tag: Release-2010-05/1~2612 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af56cd467bcc76f5499199fb1f14252abe1e1e2a;p=openembedded.git base.bbclass: Remove redundant import of subprocess and signal. Signed-off-by: Khem Raj --- diff --git a/classes/base.bbclass b/classes/base.bbclass index 4e9b65c285..a350b38850 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -729,13 +729,13 @@ base_do_buildall() { } def subprocess_setup(): - import signal, subprocess + import signal # Python installs a SIGPIPE handler by default. This is usually not what # non-Python subprocesses expect. signal.signal(signal.SIGPIPE, signal.SIG_DFL) def oe_unpack_file(file, data, url = None): - import bb, os, signal, subprocess + import bb, os, subprocess if not url: url = "file://%s" % file dots = file.split(".")