Changeset 4963 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 1 Feb 2010, 16:27:02 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/utils/importexport.py
r4920 r4963 7 7 from xml.dom.minidom import Document, getDOMImplementation 8 8 from zope.interface import Interface 9 from waeup.sirp.csvfile.interfaces import ICSVFile10 9 from waeup.sirp.interfaces import (IWAeUPObject, IWAeUPExporter, IWAeUPXMLExporter, 11 10 IWAeUPXMLImporter, IWAeUPCSVImporter) … … 86 85 obj = zope.xmlpickle.loads(xml) 87 86 return obj 88 89 90 class CSVImporter(grok.MultiAdapter):91 grok.adapts(ICSVFile, IWAeUPObject)92 grok.provides(IWAeUPCSVImporter)93 grok.baseclass() # We don't want this base to be registered really.94 95 def __init__(self, csvfile, receiver):96 self.csvfile = csvfile97 self.receiver = receiver98 99 def doImport(self):100 pass
Note: See TracChangeset for help on using the changeset viewer.