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.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index 1b4bb9ff69..9f214bb677 100755
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -2057,8 +2057,11 @@ if toastermain.settings.MANAGED:
2057 except Exception as e: 2057 except Exception as e:
2058 return HttpResponse(jsonfilter({"error":str(e) + "\n" + traceback.format_exc()}), content_type = "application/json") 2058 return HttpResponse(jsonfilter({"error":str(e) + "\n" + traceback.format_exc()}), content_type = "application/json")
2059 2059
2060 def xhr_projectinfo(request):
2061 if request.POST.has_key("project_id") == False:
2062 raise BadParameterException("invalid project id")
2060 2063
2061 2064 return xhr_projectedit(request, request.POST['project_id'])
2062 2065
2063 def xhr_projectedit(request, pid): 2066 def xhr_projectedit(request, pid):
2064 try: 2067 try: