aboutsummaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/static/js/importlayer.js
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-09-14 16:09:42 +1200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-14 14:02:29 +0100
commit013047484a03185c0ce281c53c1db4949cdc4e69 (patch)
treebb1a5829f5707bf4a7348ae73067aa486d51617b /lib/toaster/toastergui/static/js/importlayer.js
parent47a34dee08fcc25d896a1bdf16fa86267f0b898f (diff)
downloadbitbake-contrib-013047484a03185c0ce281c53c1db4949cdc4e69.tar.gz
cooker: ensure monkey-patching in collect_bbfiles() gets undone on error
In collect_bbfiles() we're monkey-patching os.listdir in order to find which directories to watch, and then undoing that when we're finished - however if an exception occurred for any reason there was nothing to ensure the latter occurred. This may not have caused any issues, but as this kind of thing really ought to be secured using try...finally just in case, so do that. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/toaster/toastergui/static/js/importlayer.js')
0 files changed, 0 insertions, 0 deletions