From f1e852927403e177c540f99853a3999dc158c25e Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 30 Jun 2020 10:57:31 +0200 Subject: [PATCH 3/3] idp_oidc: remove unused import (#44589) --- src/authentic2_idp_oidc/models.py | 1 - src/authentic2_idp_oidc/views.py | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/authentic2_idp_oidc/models.py b/src/authentic2_idp_oidc/models.py index 9eb84fcd..62d7eee9 100644 --- a/src/authentic2_idp_oidc/models.py +++ b/src/authentic2_idp_oidc/models.py @@ -30,7 +30,6 @@ from django.contrib.contenttypes.fields import GenericForeignKey, GenericRelatio from authentic2.a2_rbac.models import OrganizationalUnit from authentic2.models import Service -from authentic2.utils import to_iter from . import utils, managers, app_settings diff --git a/src/authentic2_idp_oidc/views.py b/src/authentic2_idp_oidc/views.py index 163b9841..e8b00322 100644 --- a/src/authentic2_idp_oidc/views.py +++ b/src/authentic2_idp_oidc/views.py @@ -17,12 +17,10 @@ import logging import math import datetime -import json import base64 import time -from django.http import (HttpResponse, HttpResponseBadRequest, - HttpResponseNotAllowed, JsonResponse) +from django.http import (HttpResponse, HttpResponseNotAllowed, JsonResponse) from django.urls import reverse from django.utils import six from django.utils.encoding import force_text -- 2.26.2