Changeset 7673
- Timestamp:
- 01/11/10 11:05:50 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/ndg_saml/ndg/saml/xml/etree.py
r7259 r7673 941 941 xsstringMatch = staticmethod(toSAMLTypeMap[0]) 942 942 943 def __init__(self, customToXMLTypeMap= {}, customToSAMLTypeMap=[]):943 def __init__(self, customToXMLTypeMap=None, customToSAMLTypeMap=None): 944 944 """Set-up a SAML class to ElementTree mapping 945 945 … … 954 954 to the respective self.__toSAMLTypeMap 955 955 """ 956 if customToXMLTypeMap is None: 957 customToXMLTypeMap = {} 958 959 if customToSAMLTypeMap is None: 960 customToSAMLTypeMap = [] 961 956 962 self.__toXMLTypeMap = AttributeValueElementTreeFactory.toXMLTypeMap 957 963 if not isinstance(customToXMLTypeMap, dict):
Note: See TracChangeset
for help on using the changeset viewer.