Mercurial > hg > MetaDataProvider
changeset 19:bd3025a6a6c0
clean up
author | casties |
---|---|
date | Thu, 04 Aug 2011 16:55:22 +0200 |
parents | 611b6df70840 |
children | 9a1e75e708e1 |
files | MetaDataMapping.py |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/MetaDataMapping.py Wed Aug 03 21:05:04 2011 +0200 +++ b/MetaDataMapping.py Thu Aug 04 16:55:22 2011 +0200 @@ -8,23 +8,19 @@ import logging import urlparse -# TODO: which xml toolkit? -import amara -import xml.sax.saxutils -import xml.dom.minidom import xml.etree.ElementTree as ET # TODO: do we need this? #from Products.OSA_system2 import OSAS_helpers #from Products.OSA_system2.OSAS_metadata import OSAS_Metadata,OSAS_MetadataMapping -from OSAS_metadata import OSAS_MetadataMapping +#from OSAS_metadata import OSAS_MetadataMapping from SrvTxtUtils import getAt MAX_FIELDS = 30 -class MetaDataMapping(OSAS_MetadataMapping): +class MetaDataMapping(SimpleItem): """Metadata mapping object representing a fixed set of sub-elements.""" meta_type="MetadataMapping"