summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/views.py')
-rwxr-xr-xbitbake/lib/toaster/toastergui/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index 6e5815595f..839ee78f97 100755
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -2981,7 +2981,7 @@ if True:
2981 if file_name is None: 2981 if file_name is None:
2982 raise Exception("Could not handle artifact %s id %s" % (artifact_type, artifact_id)) 2982 raise Exception("Could not handle artifact %s id %s" % (artifact_type, artifact_id))
2983 else: 2983 else:
2984 content_type = b.buildrequest.environment.get_artifact_type(file_name) 2984 content_type = MimeTypeFinder.get_mimetype(file_name)
2985 fsock = b.buildrequest.environment.get_artifact(file_name) 2985 fsock = b.buildrequest.environment.get_artifact(file_name)
2986 file_name = os.path.basename(file_name) # we assume that the build environment system has the same path conventions as host 2986 file_name = os.path.basename(file_name) # we assume that the build environment system has the same path conventions as host
2987 2987