[oe-commits] [bitbake] 02/02: server/process: Add missing exception raise

git at git.openembedded.org git at git.openembedded.org
Wed Feb 6 08:32:34 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch 1.40
in repository bitbake.

commit d89358c7b8aa69f12b8c384c4fdb493782633494
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Feb 5 21:34:37 2019 +0000

    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.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/server/process.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py
index 28b8eb9..80a7875 100644
--- a/lib/bb/server/process.py
+++ b/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)
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list