[oe-commits] Khem Raj : base.bbclass: Remove redundant import of subprocess and signal.
git version control
git at git.openembedded.org
Wed Aug 26 07:39:29 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: af56cd467bcc76f5499199fb1f14252abe1e1e2a
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=af56cd467bcc76f5499199fb1f14252abe1e1e2a
Author: Khem Raj <raj.khem at gmail.com>
Date: Wed Aug 26 00:38:30 2009 -0700
base.bbclass: Remove redundant import of subprocess and signal.
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
classes/base.bbclass | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 4e9b65c..a350b38 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(".")
More information about the Openembedded-commits
mailing list