]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake-worker: import needed signal module
authorValentin Popa <valentin.popa@intel.com>
Tue, 30 Jul 2013 08:27:28 +0000 (08:27 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 31 Jul 2013 05:47:55 +0000 (06:47 +0100)
bitbake-worker makes use of the signal module
but it doesn't import it. This patch fixes the issue.

[YOCTO #4750]

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bin/bitbake-worker

index 6580078aff67c628ae8056843d27088f2c43550f..b438d98dc92441cd565f309d3bd934ce830d249e 100755 (executable)
@@ -9,6 +9,7 @@ import logging
 import bb
 import select
 import errno
+import signal
 
 # Users shouldn't be running this code directly
 if len(sys.argv) != 2 or sys.argv[1] != "decafbad":