17
17
provides methods and functions to convert SAML classes to and from strings.
18
18
"""
19
19
20
- __version__ = "3 .0.2 "
20
+ __version__ = "4 .0.0 "
21
21
22
22
import logging
23
23
import six
@@ -733,7 +733,7 @@ def set_text(self, val, base64encode=False):
733
733
:return: The instance
734
734
"""
735
735
736
- #print("set_text: %s" % (val,))
736
+ # print("set_text: %s" % (val,))
737
737
if isinstance (val , bool ):
738
738
if val :
739
739
setattr (self , "text" , "true" )
@@ -765,7 +765,7 @@ def loadd(self, ava, base64encode=False):
765
765
"""
766
766
767
767
for prop , _typ , _req in self .c_attributes .values ():
768
- #print("# %s" % (prop))
768
+ # print("# %s" % (prop))
769
769
if prop in ava :
770
770
if isinstance (ava [prop ], bool ):
771
771
setattr (self , prop , "%s" % ava [prop ])
@@ -778,9 +778,9 @@ def loadd(self, ava, base64encode=False):
778
778
self .set_text (ava ["text" ], base64encode )
779
779
780
780
for prop , klassdef in self .c_children .values ():
781
- #print("## %s, %s" % (prop, klassdef))
781
+ # print("## %s, %s" % (prop, klassdef))
782
782
if prop in ava :
783
- #print("### %s" % ava[prop])
783
+ # print("### %s" % ava[prop])
784
784
# means there can be a list of values
785
785
if isinstance (klassdef , list ):
786
786
make_vals (ava [prop ], klassdef [0 ], self , prop ,
0 commit comments