Changeset 9323 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 9 Oct 2012, 13:53:08 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r9322 r9323 875 875 return importers 876 876 877 def _notifyImportManagers(self, normalized_filename, importer, import_mode): 877 def _notifyImportManagers(self, filename, 878 normalized_filename, importer, import_mode): 878 879 """Send email to Import Managers 879 880 """ … … 887 888 header = line[0] 888 889 data = str(line[1:]).strip('[').strip(']') 889 mail_table += '%s: %s \n' % (line[0], data)890 mail_table += '%s: %s ...\n' % (line[0], data) 890 891 # Collect all recipient addresses 891 892 kofa_utils = getUtility(IKofaUtils) … … 907 908 rcpt_name = _('Import Manager') 908 909 subject = translate( 909 _('${a} Upload', mapping = {'a':config.acronym}), 910 _('${a}: ${b} uploaded', 911 mapping = {'a':config.acronym, 'b':filename}), 910 912 'waeup.kofa', 911 913 target_language=kofa_utils.PORTAL_LANGUAGE) 912 914 text = _("""File: ${a} 913 Processor: ${b}915 Importer: ${b} 914 916 Import Mode: ${c} 915 917 Datasets: ${d} … … 963 965 ob_class = self.__implemented__.__name__.replace('waeup.kofa.','') 964 966 logger.info('%s - uploaded: %s' % (ob_class, target)) 965 self._notifyImportManagers( 967 self._notifyImportManagers(filename, 966 968 normalized_filename, importer, import_mode) 967 969
Note: See TracChangeset for help on using the changeset viewer.