~roadmr/canonical-identity-provider/fix-deprecation-warnings-1

« back to all changes in this revision

Viewing changes to src/ubuntu_sso_saml/views.py

  • Committer: Tom Wardill
  • Date: 2018-02-14 14:05:59 UTC
  • mfrom: (1602 work)
  • mto: (1597.1.44 django-1.10)
  • mto: This revision was merged to the branch mainline in revision 1603.
  • Revision ID: tom.wardill@canonical.com-20180214140559-ow5txzwy46nopws2
Merge flake8 changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
from saml2idp import registry, saml2idp_metadata, xml_signing
11
11
from saml2idp.exceptions import CannotHandleAssertion
12
12
from saml2idp.views import (
 
13
    _generate_response,
13
14
    login_begin,
14
15
    login_init,
15
16
    login_process,
16
 
    _generate_response,
17
17
)
18
18
 
19
 
# XXX: we should not import webui here
20
 
from webui.decorators import sso_login_required
21
 
 
22
19
from ubuntu_sso_saml.models import SAMLConfig
23
20
from ubuntu_sso_saml.processors import InfoProcessor
24
21
from ubuntu_sso_saml.utils import (
26
23
    get_deeplink_url,
27
24
)
28
25
 
 
26
# XXX: we should not import webui here
 
27
from webui.decorators import sso_login_required
 
28
 
29
29
logger = logging.getLogger(__name__)
30
30
 
31
31