Changeset 7906 for main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Timestamp:
- 18 Mar 2012, 14:24:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/export.py
r7903 r7906 20 20 import grok 21 21 from waeup.kofa.interfaces import ICSVExporter 22 from waeup.kofa.interfaces import MessageFactory as _ 22 23 from waeup.kofa.utils.batching import ExporterBase 23 24 … … 32 33 'provider', 'application_category', 'description', 33 34 'startdate', 'enddate', 'strict_deadline') 35 36 #: The title under which this exporter will be displayed 37 title = _(u'Basic Applicants Containers') 38 39 def mangle_value(self, value, name, context=None): 40 if name == 'provider' and isinstance(value, tuple): 41 value = value[0] 42 return super( 43 ApplicantsContainerExporter, self).mangle_value( 44 value, name, context=context) 34 45 35 46 def export(self, containers, filepath=None):
Note: See TracChangeset for help on using the changeset viewer.