File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -444,13 +444,12 @@ class SamlBase(ExtensionContainer):
444
444
c_children = {}
445
445
c_attributes = {}
446
446
c_attribute_type = {}
447
- #c_attribute_use = {}
448
- #c_attribute_required = {}
449
447
c_child_order = []
450
448
c_cardinality = {}
451
449
c_any = None
452
450
c_any_attribute = None
453
451
c_value_type = None
452
+ c_ns_prefix = None
454
453
455
454
def _get_all_c_children_with_order (self ):
456
455
if len (self .c_child_order ) > 0 :
@@ -549,6 +548,9 @@ def to_string(self, nspair=None):
549
548
constructing the text representation.
550
549
:return: String representation of the object
551
550
"""
551
+ if not nspair and self .c_ns_prefix :
552
+ nspair = self .c_ns_prefix
553
+
552
554
if nspair :
553
555
for prefix , uri in nspair .items ():
554
556
try :
You can’t perform that action at this time.
0 commit comments