summaryrefslogtreecommitdiff
path: root/classes/base.bbclass
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-08-26 00:38:30 -0700
committerKhem Raj <raj.khem@gmail.com>2009-08-26 00:38:30 -0700
commitaf56cd467bcc76f5499199fb1f14252abe1e1e2a (patch)
tree3f12c7b35f195ab66a2be19a551d8dff3483a3c8 /classes/base.bbclass
parentc0be71ee071b99b841a7063944d6784616c26b56 (diff)
base.bbclass: Remove redundant import of subprocess and signal.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r--classes/base.bbclass4
1 files changed, 2 insertions, 2 deletions
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(".")