Fixed imports

This commit is contained in:
Roland Hedberg
2015-05-15 19:42:54 +02:00
parent 926d334542
commit b42195f3f6
10 changed files with 15 additions and 19 deletions

View File

@@ -2,11 +2,9 @@
# -*- coding: utf-8 -*-
import saml2
import xmldsig as ds
from saml2 import saml
from saml2 import samlp
from saml2 import md
from saml2.validate import valid_duration, MustValueError
from saml2.validate import valid_unsigned_short
from saml2.validate import valid_non_negative_integer

View File

@@ -26,8 +26,8 @@ from saml2.extension import dri
from saml2.extension import mdattr
from saml2.extension import ui
from saml2 import saml
import xmldsig
import xmlenc
from saml2 import xmldsig
from saml2 import xmlenc
from pathutils import full_path

View File

@@ -10,8 +10,8 @@ from saml2.extension import idpdisc
from saml2.extension import dri
from saml2.extension import mdattr
from saml2.extension import ui
import xmldsig
import xmlenc
from saml2 import xmldsig
from saml2 import xmlenc
ONTS = {
saml.NAMESPACE: saml,

View File

@@ -26,8 +26,8 @@ from saml2.extension import dri
from saml2.extension import mdattr
from saml2.extension import ui
from saml2.s_utils import UnknownPrincipal
import xmldsig
import xmlenc
from saml2 import xmldsig
from saml2 import xmlenc
from pathutils import full_path

View File

@@ -2,8 +2,6 @@
# -*- coding: utf-8 -*-
import datetime
import re
from urllib import quote_plus
from saml2.httpbase import HTTPBase
from saml2.mdstore import MetadataStore, MetaDataMDX
from saml2.mdstore import destinations
@@ -26,8 +24,8 @@ from saml2.extension import dri
from saml2.extension import mdattr
from saml2.extension import ui
from saml2.s_utils import UnknownPrincipal
import xmldsig
import xmlenc
from saml2 import xmldsig
from saml2 import xmlenc
from pathutils import full_path

View File

@@ -12,8 +12,8 @@ from saml2.extension import ui
from pathutils import full_path
from saml2.mdstore import MetadataStore
from saml2.server import Server
import xmldsig
import xmlenc
from saml2 import xmldsig
from saml2 import xmlenc
ONTS = {
saml.NAMESPACE: saml,

View File

@@ -4,7 +4,7 @@
import base64
import urllib
import urlparse
from xmldsig import SIG_RSA_SHA256
from saml2.xmldsig import SIG_RSA_SHA256
from saml2 import BINDING_HTTP_POST
from saml2 import BINDING_HTTP_REDIRECT
from saml2 import config

View File

@@ -5,7 +5,7 @@ import base64
from saml2.authn_context import INTERNETPROTOCOLPASSWORD
from saml2.saml import NAMEID_FORMAT_TRANSIENT
from saml2.samlp import NameIDPolicy
from s2repoze.plugins.sp import make_plugin
from saml2.s2repoze.plugins.sp import make_plugin
from saml2.server import Server
ENV1 = {'SERVER_SOFTWARE': 'CherryPy/3.1.2 WSGI Server',

View File

@@ -20,8 +20,8 @@ from saml2.extension import idpdisc
from saml2.extension import dri
from saml2.extension import mdattr
from saml2.extension import ui
import xmldsig
import xmlenc
from saml2 import xmldsig
from saml2 import xmlenc
from pathutils import full_path

View File

@@ -1,4 +1,4 @@
import xmldsig as ds
from saml2 import xmldsig as ds
from saml2 import config
from saml2 import extension_elements_to_elements
from saml2 import element_to_extension_element