Ignore:
Timestamp:
10 Dec 2011, 06:15:17 (13 years ago)
Author:
Henrik Bettermann
Message:

Replace the term 'WAeUP' by SIRP which is a WAeUP product.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/utils/importexport.py

    r7196 r7321  
    2222from cStringIO import StringIO
    2323from zope.interface import Interface
    24 from waeup.sirp.interfaces import (IWAeUPObject, IWAeUPExporter,
    25                                    IWAeUPXMLExporter, IWAeUPXMLImporter)
     24from waeup.sirp.interfaces import (ISIRPObject, ISIRPExporter,
     25                                   ISIRPXMLExporter, ISIRPXMLImporter)
    2626
    2727def readFile(f):
     
    4040
    4141class Exporter(grok.Adapter):
    42     """Export a WAeUP object as pickle.
     42    """Export a SIRP object as pickle.
    4343
    4444    This all-purpose exporter exports attributes defined in schemata
    4545    and contained objects (if the exported thing is a container).
    4646    """
    47     grok.context(IWAeUPObject)
    48     grok.provides(IWAeUPExporter)
     47    grok.context(ISIRPObject)
     48    grok.provides(ISIRPExporter)
    4949
    5050    def __init__(self, context):
     
    6161
    6262class XMLExporter(grok.Adapter):
    63     """Export a WAeUP object as XML.
     63    """Export a SIRP object as XML.
    6464
    6565    This all-purpose exporter exports XML representations of pickable
     
    6767    """
    6868    grok.context(Interface)
    69     grok.provides(IWAeUPXMLExporter)
     69    grok.provides(ISIRPXMLExporter)
    7070
    7171    def __init__(self, context):
     
    8484
    8585class XMLImporter(grok.Adapter):
    86     """Import a WAeUP object from XML.
     86    """Import a SIRP object from XML.
    8787    """
    8888    grok.context(Interface)
    89     grok.provides(IWAeUPXMLImporter)
     89    grok.provides(ISIRPXMLImporter)
    9090
    9191    def __init__(self, context):
Note: See TracChangeset for help on using the changeset viewer.