summaryrefslogtreecommitdiff
path: root/lib/toaster
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-09-28 21:45:21 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-29 13:44:48 +0100
commit076945ea026091dc709f7cfea01ef119d0572bf3 (patch)
tree37f7e0c9ee6649e5e0e662bb93354468f7d0f8e2 /lib/toaster
parentbb0696f343aca44207581f15ff2b4f0045f7530c (diff)
downloadbitbake-076945ea026091dc709f7cfea01ef119d0572bf3.zip
toaster: Fix indentation of jsunittests view
Fix indentation to 4 spaces Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/toaster')
-rwxr-xr-xlib/toaster/toastergui/views.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/toaster/toastergui/views.py b/lib/toaster/toastergui/views.py
index 95df60e4..5ea6122a 100755
--- a/lib/toaster/toastergui/views.py
+++ b/lib/toaster/toastergui/views.py
@@ -2328,20 +2328,20 @@ if True:
return wrapper
def jsunittests(request):
- """ Provides a page for the js unit tests """
- bbv = BitbakeVersion.objects.filter(branch="master").first()
- release = Release.objects.filter(bitbake_version=bbv).first()
+ """ Provides a page for the js unit tests """
+ bbv = BitbakeVersion.objects.filter(branch="master").first()
+ release = Release.objects.filter(bitbake_version=bbv).first()
- name = "_js_unit_test_prj_"
+ name = "_js_unit_test_prj_"
- # If there is an existing project by this name delete it. We don't want
- # Lots of duplicates cluttering up the projects.
- Project.objects.filter(name=name).delete()
+ # If there is an existing project by this name delete it. We don't want
+ # Lots of duplicates cluttering up the projects.
+ Project.objects.filter(name=name).delete()
- new_project = Project.objects.create_project(name=name, release=release)
+ new_project = Project.objects.create_project(name=name, release=release)
- context = { 'project' : new_project }
- return render(request, "js-unit-tests.html", context)
+ context = { 'project' : new_project }
+ return render(request, "js-unit-tests.html", context)
from django.views.decorators.csrf import csrf_exempt
@csrf_exempt