summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-05 21:34:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-06 08:24:50 +0000
commit65a7662c5b83d56b7baff5cc4ee79051c3ced18c (patch)
treef113fac70ca41bc605de5ec0a30d165203a8e480 /bitbake/lib
parent2c15d8000dc2e2c09838a4bc7b76b0d8647e2a18 (diff)
downloadopenembedded-core-contrib-65a7662c5b83d56b7baff5cc4ee79051c3ced18c.tar.gz
bitbake: server/process: Add missing exception raise
The intent of the code was to catch one kind of error, it was actually swallowing all exceptions and looping indefinitely. Fix it to work as intended. This explains some mystery hangs we've been seeing. (Bitbake rev: d73dbc3580faa1225d95ae4cefac4879ca3c1b2f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/server/process.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py
index 28b8eb9b86..80a7875ad9 100644
--- a/bitbake/lib/bb/server/process.py
+++ b/bitbake/lib/bb/server/process.py
@@ -499,6 +499,7 @@ def connectProcessServer(sockname, featureset):
except IOError as e:
if e.errno == errno.EWOULDBLOCK:
pass
+ raise
finally:
os.chdir(cwd)