Commit 43fafe05 authored by Michal Čihař's avatar Michal Čihař

Fixed spacing

parent eb33bc2f
...@@ -33,7 +33,7 @@ def show_checks(request): ...@@ -33,7 +33,7 @@ def show_checks(request):
''' '''
List of failing checks. List of failing checks.
''' '''
ignore=('ignored' in request.GET) ignore = ('ignored' in request.GET)
ignore_string = '' ignore_string = ''
if ignore: if ignore:
ignore_string = '?ignored=true' ignore_string = '?ignored=true'
...@@ -57,7 +57,7 @@ def show_check(request, name): ...@@ -57,7 +57,7 @@ def show_check(request, name):
except KeyError: except KeyError:
raise Http404('No check matches the given query.') raise Http404('No check matches the given query.')
ignore=('ignored' in request.GET) ignore = ('ignored' in request.GET)
ignore_string = '' ignore_string = ''
if ignore: if ignore:
ignore_string = '?ignored=true' ignore_string = '?ignored=true'
...@@ -85,7 +85,7 @@ def show_check_project(request, name, project): ...@@ -85,7 +85,7 @@ def show_check_project(request, name, project):
except KeyError: except KeyError:
raise Http404('No check matches the given query.') raise Http404('No check matches the given query.')
ignore=('ignored' in request.GET) ignore = ('ignored' in request.GET)
ignore_string = '' ignore_string = ''
if ignore: if ignore:
ignore_string = '?ignored=true' ignore_string = '?ignored=true'
...@@ -154,7 +154,7 @@ def show_check_subproject(request, name, project, subproject): ...@@ -154,7 +154,7 @@ def show_check_subproject(request, name, project, subproject):
except KeyError: except KeyError:
raise Http404('No check matches the given query.') raise Http404('No check matches the given query.')
ignore=('ignored' in request.GET) ignore = ('ignored' in request.GET)
ignore_string = '' ignore_string = ''
if ignore: if ignore:
ignore_string = '?ignored=true' ignore_string = '?ignored=true'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment