File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22# -*- coding: utf-8 -*-
3+ import copy
34import importlib
45import logging
5-
66import re
7- from saml2 .saml import NAME_FORMAT_URI
87import six
9- from saml2 import xmlenc
108
119from saml2 import saml
12-
13- from saml2 .time_util import instant , in_a_while
10+ from saml2 import xmlenc
1411from saml2 .attribute_converter import from_local , get_local_name
15- from saml2 .s_utils import sid , MissingValue
16- from saml2 .s_utils import factory
1712from saml2 .s_utils import assertion_factory
13+ from saml2 .s_utils import factory
14+ from saml2 .s_utils import sid , MissingValue
15+ from saml2 .saml import NAME_FORMAT_URI
16+ from saml2 .time_util import instant , in_a_while
1817
1918logger = logging .getLogger (__name__ )
2019
@@ -319,7 +318,7 @@ def compile(self, restrictions):
319318 a compiled regular expression.
320319 """
321320
322- self ._restrictions = restrictions . copy ( )
321+ self ._restrictions = copy . deepcopy ( restrictions )
323322
324323 for who , spec in self ._restrictions .items ():
325324 if spec is None :
You can’t perform that action at this time.
0 commit comments