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.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index 69f5af0f3a..243bb09d62 100755
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -2456,10 +2456,6 @@ if True:
2456 return_data['package_classes'] = ProjectVariable.objects.get(project = prj, name = "PACKAGE_CLASSES").value, 2456 return_data['package_classes'] = ProjectVariable.objects.get(project = prj, name = "PACKAGE_CLASSES").value,
2457 except ProjectVariable.DoesNotExist: 2457 except ProjectVariable.DoesNotExist:
2458 pass 2458 pass
2459 try:
2460 return_data['sdk_machine'] = ProjectVariable.objects.get(project = prj, name = "SDKMACHINE").value,
2461 except ProjectVariable.DoesNotExist:
2462 pass
2463 2459
2464 return HttpResponse(json.dumps( return_data ), content_type = "application/json") 2460 return HttpResponse(json.dumps( return_data ), content_type = "application/json")
2465 2461
@@ -2868,11 +2864,6 @@ if True:
2868 context['package_classes_defined'] = "1" 2864 context['package_classes_defined'] = "1"
2869 except ProjectVariable.DoesNotExist: 2865 except ProjectVariable.DoesNotExist:
2870 pass 2866 pass
2871 try:
2872 context['sdk_machine'] = ProjectVariable.objects.get(project = prj, name = "SDKMACHINE").value
2873 context['sdk_machine_defined'] = "1"
2874 except ProjectVariable.DoesNotExist:
2875 pass
2876 2867
2877 return context 2868 return context
2878 2869