From 64c919d3cc09467d82f6010df7c984d7f00688ba Mon Sep 17 00:00:00 2001 From: Julian Gonggrijp Date: Tue, 13 Jul 2021 16:19:18 +0200 Subject: [PATCH] Strip trailing whitespace from backend/items/views.py --- backend/items/views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/items/views.py b/backend/items/views.py index 8c06542e..2bc8dede 100644 --- a/backend/items/views.py +++ b/backend/items/views.py @@ -4,7 +4,7 @@ from django.http import FileResponse, HttpResponse -from rest_framework.decorators import action, api_view, renderer_classes +from rest_framework.decorators import action, api_view, renderer_classes from rest_framework.permissions import IsAuthenticatedOrReadOnly from rest_framework.response import Response from rest_framework.status import * @@ -267,7 +267,7 @@ class ItemSuggestion(RDFView): def graph(self): return graph() - def get_graph(self, request, **kwargs): + def get_graph(self, request, **kwargs): items = self.graph() if not request.user.has_perm('rdflib_django.view_all_annotations'): user, now = submission_info(request) @@ -287,7 +287,7 @@ class ItemsOfCategory(RDFView): def graph(self): return graph() - def get_graph(self, request, category, **kwargs): + def get_graph(self, request, category, **kwargs): items = self.graph() bindings = {'category': ontology[category]} if not request.user.has_perm('rdflib_django.view_all_annotations'):