- Timestamp:
- 14/04/10 15:45:01 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/NDG_XACML/ndg/xacml/core/functions/__init__.py
r6804 r6805 16 16 log = logging.getLogger(__name__) 17 17 18 from ndg.xacml.core.attributevalue import AttributeValue 18 from ndg.xacml.core.attributevalue import (AttributeValue, 19 AttributeValueClassFactory) 19 20 from ndg.xacml.utils import VettedDict, _isIterable 20 21 from ndg.xacml.utils.factory import callModuleObject … … 349 350 for n in functionSuffixParts if n]) 350 351 352 attributeValueClassFactory = AttributeValueClassFactory() 353 351 354 for identifier in self.__class__.FUNCTION_NAMES: 352 355 # Extract the function name and the type portion of the function … … 356 359 357 360 typeName = typePart[0].upper() + typePart[1:] 358 _type = AttributeValue.TYPE_MAP.get(typeName) 361 typeURI = AttributeValue.IDENTIFIER_PREFIX + typePart 362 _type = attributeValueClassFactory(typeURI) 359 363 if _type is None: 360 364 raise TypeError('No AttributeValue.TYPE_MAP entry for %r type' %
Note: See TracChangeset
for help on using the changeset viewer.