Changeset 5476


Ignore:
Timestamp:
24 Aug 2010, 00:59:18 (14 years ago)
Author:
uli
Message:

Update the interface signature for doImport method of batch
processors. In fact we are using this different interface since long
time. We only forgot to test it.

File:
1 edited

Legend:

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

    r5407 r5476  
    129129        )
    130130   
    131     def doImport(path):
     131    def doImport(path, headerfields, mode='create', user='Unknown',
     132                 logger=None):
    132133        """Read data from ``path`` and update connected object.
     134
     135        `headerfields` is a list of headerfields as read from the file
     136        to import.
     137
     138        `mode` gives the import mode to use (``'create'``,
     139        ``'update'``, or ``'remove'``.
     140
     141        `user` is a string describing the user performing the
     142        import. Normally fetched from current principal.
     143
     144        `logger` is the logger to use during import.
    133145        """
    134146
Note: See TracChangeset for help on using the changeset viewer.