summaryrefslogtreecommitdiffstats
path: root/bitbake
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:32:00 +0000
commit1d987b98ed9ee95239f966ce990c119531e95d88 (patch)
tree6ec0818797998b12a5b84129aa946b54cd3ff801 /bitbake
parent9bd81c492c443fd235def701e8b7000ace1e5228 (diff)
downloadpoky-1d987b98ed9ee95239f966ce990c119531e95d88.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: d89358c7b8aa69f12b8c384c4fdb493782633494) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-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):
499 except IOError as e: 499 except IOError as e:
500 if e.errno == errno.EWOULDBLOCK: 500 if e.errno == errno.EWOULDBLOCK:
501 pass 501 pass
502 raise
502 finally: 503 finally:
503 os.chdir(cwd) 504 os.chdir(cwd)
504 505