1717 provides methods and functions to convert SAML classes to and from strings.
1818"""
1919
20- __version__ = "3 .0.2 "
20+ __version__ = "4 .0.0 "
2121
2222import logging
2323import six
@@ -733,7 +733,7 @@ def set_text(self, val, base64encode=False):
733733 :return: The instance
734734 """
735735
736- #print("set_text: %s" % (val,))
736+ # print("set_text: %s" % (val,))
737737 if isinstance (val , bool ):
738738 if val :
739739 setattr (self , "text" , "true" )
@@ -765,7 +765,7 @@ def loadd(self, ava, base64encode=False):
765765 """
766766
767767 for prop , _typ , _req in self .c_attributes .values ():
768- #print("# %s" % (prop))
768+ # print("# %s" % (prop))
769769 if prop in ava :
770770 if isinstance (ava [prop ], bool ):
771771 setattr (self , prop , "%s" % ava [prop ])
@@ -778,9 +778,9 @@ def loadd(self, ava, base64encode=False):
778778 self .set_text (ava ["text" ], base64encode )
779779
780780 for prop , klassdef in self .c_children .values ():
781- #print("## %s, %s" % (prop, klassdef))
781+ # print("## %s, %s" % (prop, klassdef))
782782 if prop in ava :
783- #print("### %s" % ava[prop])
783+ # print("### %s" % ava[prop])
784784 # means there can be a list of values
785785 if isinstance (klassdef , list ):
786786 make_vals (ava [prop ], klassdef [0 ], self , prop ,
0 commit comments