Projet

Général

Profil

0025-misc-fix-consider-using-from-import-pylint-error-569.patch

Valentin Deniaud, 21 septembre 2021 17:09

Télécharger (2,05 ko)

Voir les différences:

Subject: [PATCH 25/59] misc: fix consider-using-from-import pylint error
 (#56982)

 src/authentic2/idp/saml/backend.py         | 5 ++---
 src/authentic2/idp/saml/saml2_endpoints.py | 4 ++--
 2 files changed, 4 insertions(+), 5 deletions(-)
src/authentic2/idp/saml/backend.py
25 25
from django.urls import reverse
26 26
from django.utils.translation import ugettext as _
27 27

  
28
import authentic2.idp.saml.saml2_endpoints as saml2_endpoints
29
import authentic2.saml.common as common
30
import authentic2.saml.models as models
31 28
from authentic2.decorators import to_list
29
from authentic2.idp.saml import saml2_endpoints
30
from authentic2.saml import common, models
32 31
from authentic2.utils.misc import Service
33 32

  
34 33

  
src/authentic2/idp/saml/saml2_endpoints.py
57 57
from django.views.decorators.csrf import csrf_exempt
58 58
from django.views.decorators.http import require_POST
59 59

  
60
import authentic2.saml.saml2utils as saml2utils
61
import authentic2.views as a2_views
62 60
from authentic2 import hooks
61
from authentic2 import views as a2_views
63 62
from authentic2.attributes_ng.engine import get_attributes
64 63
from authentic2.compat_lasso import lasso
65 64
from authentic2.constants import NONCE_FIELD_NAME
66 65
from authentic2.idp import signals as idp_signals
67 66
from authentic2.idp.saml.common import kill_django_sessions
67
from authentic2.saml import saml2utils
68 68
from authentic2.saml.common import (
69 69
    AUTHENTIC_SAME_ID_SENTINEL,
70 70
    AUTHENTIC_STATUS_CODE_INTERNAL_SERVER_ERROR,
71
-