summaryrefslogtreecommitdiffstats
path: root/bitbake/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 14:11:37 +0100
commit28153acb0aadce9e42ab5eac02f9b68921a9563f (patch)
treee7db422cb5c3efdb026c97fd09b217e2abe67186 /bitbake/lib/toaster
parent60f3ddb2fb6dde3a04866b1bc3df7ae6e53ea918 (diff)
downloadpoky-28153acb0aadce9e42ab5eac02f9b68921a9563f.tar.gz
bitbake: toaster: Fix indentation of jsunittests view
Fix indentation to 4 spaces (Bitbake rev: 076945ea026091dc709f7cfea01ef119d0572bf3) 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 'bitbake/lib/toaster')
-rwxr-xr-xbitbake/lib/toaster/toastergui/views.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index 95df60e472..5ea6122a02 100755
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -2328,20 +2328,20 @@ if True:
2328 return wrapper 2328 return wrapper
2329 2329
2330 def jsunittests(request): 2330 def jsunittests(request):
2331 """ Provides a page for the js unit tests """ 2331 """ Provides a page for the js unit tests """
2332 bbv = BitbakeVersion.objects.filter(branch="master").first() 2332 bbv = BitbakeVersion.objects.filter(branch="master").first()
2333 release = Release.objects.filter(bitbake_version=bbv).first() 2333 release = Release.objects.filter(bitbake_version=bbv).first()
2334 2334
2335 name = "_js_unit_test_prj_" 2335 name = "_js_unit_test_prj_"
2336 2336
2337 # If there is an existing project by this name delete it. We don't want 2337 # If there is an existing project by this name delete it. We don't want
2338 # Lots of duplicates cluttering up the projects. 2338 # Lots of duplicates cluttering up the projects.
2339 Project.objects.filter(name=name).delete() 2339 Project.objects.filter(name=name).delete()
2340 2340
2341 new_project = Project.objects.create_project(name=name, release=release) 2341 new_project = Project.objects.create_project(name=name, release=release)
2342 2342
2343 context = { 'project' : new_project } 2343 context = { 'project' : new_project }
2344 return render(request, "js-unit-tests.html", context) 2344 return render(request, "js-unit-tests.html", context)
2345 2345
2346 from django.views.decorators.csrf import csrf_exempt 2346 from django.views.decorators.csrf import csrf_exempt
2347 @csrf_exempt 2347 @csrf_exempt