diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-21 15:14:37 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-24 10:39:07 +0000 |
commit | 52f41ff24303e3cc6f842d1eb62f41ba6d0c77b7 (patch) | |
tree | bcbcc61ba873de64351fb161bf9c4b051a8615a9 /meta/lib/oe/recipeutils.py | |
parent | cd125f1703fcf06c995cc6c74990a6a70fdc9536 (diff) | |
download | poky-52f41ff24303e3cc6f842d1eb62f41ba6d0c77b7.tar.gz |
lib/prservice: Improve lock handling robustness
It is possible we could crash holding a lock whilst parsing in this code.
Switch to use utils.fileslocked() in the with expression to avoid this.
This may be causing some of our strange intermittent failures in PRServ
tests.
(From OE-Core rev: 4e59db15e5df2cc3d0ae042454812a2d54cef77b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/recipeutils.py')
0 files changed, 0 insertions, 0 deletions