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.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/utils
Files:
7 edited

Legend:

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

    r7273 r7321  
    1616## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    1717##
    18 """WAeUP components for batch processing.
     18"""SIRP components for batch processing.
    1919
    2020Batch processors eat CSV files to add, update or remove large numbers
  • main/waeup.sirp/trunk/src/waeup/sirp/utils/converters.txt

    r6276 r7321  
    1010
    1111.. :NOdoctest:
    12 .. :NOlayer: waeup.sirp.testing.WAeUPSIRPUnitTestLayer
     12.. :NOlayer: waeup.sirp.testing.SIRPUnitTestLayer
    1313
    1414
     
    672672    '1'
    673673
    674     >>> from waeup.sirp.interfaces import SimpleWAeUPVocabulary
     674    >>> from waeup.sirp.interfaces import SimpleSIRPVocabulary
    675675    >>> field = Choice(
    676676    ...   title = u'Favourite Dish',
    677677    ...   default = 0,
    678     ...   vocabulary = SimpleWAeUPVocabulary(
     678    ...   vocabulary = SimpleSIRPVocabulary(
    679679    ...        ('N/A', 0), ('Pizza', 1),
    680680    ...        ('Cake', 2), ('Muffins', 3)),
  • main/waeup.sirp/trunk/src/waeup/sirp/utils/helpers.py

    r7240 r7321  
    1616## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    1717##
    18 """General helper functions for WAeUP.
     18"""General helper functions for SIRP.
    1919"""
    2020import os
  • main/waeup.sirp/trunk/src/waeup/sirp/utils/helpers.txt

    r7186 r7321  
    1 :mod:`waeup.sirp.utils.helpers` -- Helpers for the WAeUP SRP
    2 ************************************************************
     1:mod:`waeup.sirp.utils.helpers` -- Helpers for SIRP
     2***************************************************
    33
    44.. module:: waeup.sirp.utils.helpers
    55
    6 Helper functions for the WAeUP SRP.
     6Helper functions for SIRP.
    77
    88.. :doctest:
  • 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):
  • main/waeup.sirp/trunk/src/waeup/sirp/utils/importexport.txt

    r5140 r7321  
    66
    77.. :doctest:
    8 .. :layer: waeup.sirp.testing.WAeUPSIRPUnitTestLayer
     8.. :layer: waeup.sirp.testing.SIRPUnitTestLayer
    99
    1010As imports and exports of data are a cruical point when doing updates
     
    6060an exporter::
    6161
    62     >>> from waeup.sirp.interfaces import IWAeUPXMLExporter
    63     >>> exporter = IWAeUPXMLExporter(mycave)
     62    >>> from waeup.sirp.interfaces import ISIRPXMLExporter
     63    >>> exporter = ISIRPXMLExporter(mycave)
    6464    >>> exporter
    6565    <waeup.sirp.utils.importexport.XMLExporter object at 0x...>
     
    101101Now we create an importer for that object:
    102102
    103     >>> from waeup.sirp.interfaces import IWAeUPXMLImporter
    104     >>> importer = IWAeUPXMLImporter(mycave)
     103    >>> from waeup.sirp.interfaces import ISIRPXMLImporter
     104    >>> importer = ISIRPXMLImporter(mycave)
    105105
    106106Importing from filenames
  • main/waeup.sirp/trunk/src/waeup/sirp/utils/tests/test_converters.py

    r7196 r7321  
    3636from waeup.sirp.utils.converters import IObjectConverter
    3737from waeup.sirp.utils.helpers import attrs_to_fields
    38 from waeup.sirp.interfaces import SimpleWAeUPVocabulary
    39 
    40 colors = SimpleWAeUPVocabulary(
     38from waeup.sirp.interfaces import SimpleSIRPVocabulary
     39
     40colors = SimpleSIRPVocabulary(
    4141    ('Red', u'red'),
    4242    ('Green', u'green'),
    4343    ('Blue', u'blue'),
    4444    )
    45 car_nums = SimpleWAeUPVocabulary(
     45car_nums = SimpleSIRPVocabulary(
    4646    ('None', 0),
    4747    ('One', 1),
Note: See TracChangeset for help on using the changeset viewer.