summaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
authorElliot Smith <elliot.smith@intel.com>2015-09-11 13:57:30 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-18 09:04:24 +0100
commit8d3aa2d46ebab7a59e57234f0b3f6fc3225a13e8 (patch)
treed453196139843fb019e70f5dcd39353673feb787 /lib/bb/fetch2/__init__.py
parent5697bbcc88edad85891f66d28b8803a9c9d27ff2 (diff)
downloadopenembedded-core-contrib-8d3aa2d46ebab7a59e57234f0b3f6fc3225a13e8.tar.gz
toaster: Don't def a function for each call to build_artifact()
Cache the mimetype object and only define the function for getting a mimetype once. Also ensure that filemagic is listed as a requirement of toaster. Doing this also means we can remove the code which tries multiple different "magic" libraries, as we know we have the right version available. Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/__init__.py')
0 files changed, 0 insertions, 0 deletions