summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-08-05 15:12:14 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-02 16:29:36 +0100
commitf59bc6be2b4af1acdcf6a1b184956b5ffd297743 (patch)
tree1ec3c739b0668f6bbb807304aff93f8a30dd1941 /bin
parentb543458dd67d24a228fa2db0ecb4ddd20016a560 (diff)
downloadbitbake-contrib-f59bc6be2b4af1acdcf6a1b184956b5ffd297743.tar.gz
bitbake-contrib-f59bc6be2b4af1acdcf6a1b184956b5ffd297743.tar.bz2
bitbake-contrib-f59bc6be2b4af1acdcf6a1b184956b5ffd297743.zip
tinfoil: add context manager functions
Since calling the shutdown() function is highly recommended, make tinfoil objects a little easier to deal with by adding context manager support - so you can do the following: with bb.tinfoil.Tinfoil() as tinfoil: tinfoil.prepare(True) ... Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions