summaryrefslogtreecommitdiff
path: root/toaster-requirements.txt
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 /toaster-requirements.txt
parent5697bbcc88edad85891f66d28b8803a9c9d27ff2 (diff)
downloadbitbake-8d3aa2d46ebab7a59e57234f0b3f6fc3225a13e8.zip
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 'toaster-requirements.txt')
-rw-r--r--toaster-requirements.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/toaster-requirements.txt b/toaster-requirements.txt
index 19b52937..1d92d5e3 100644
--- a/toaster-requirements.txt
+++ b/toaster-requirements.txt
@@ -2,3 +2,4 @@ Django==1.6
South==0.8.4
argparse==1.2.1
wsgiref==0.1.2
+filemagic==1.6