Ignore:
Timestamp:
21 Nov 2012, 22:37:03 (12 years ago)
Author:
Henrik Bettermann
Message:

Rework logging of batch processing. Remove redundant text but add name of import file.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/utils
Files:
2 edited

Legend:

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

    r9265 r9706  
    205205        return None
    206206
    207     def updateEntry(self, obj, row, site):
     207    def updateEntry(self, obj, row, site, filename):
    208208        """Update obj to the values given in row.
    209209
     
    350350                # student_ids and applicant_ids which have been
    351351                # generated in the respective __init__ methods before.
    352                 self.updateEntry(obj, row, site)
     352                self.updateEntry(obj, row, site, base)
    353353                try:
    354354                    self.addEntry(obj, row, site)
     
    387387                        failed_writer, string_row, update_errors)
    388388                    continue
    389                 self.updateEntry(obj, row, site)
     389                self.updateEntry(obj, row, site, base)
    390390            finished_writer.writerow(string_row)
    391391
  • main/waeup.kofa/trunk/src/waeup/kofa/utils/batching.txt

    r8330 r9706  
    218218    ...     stoneville[row['name']] = obj
    219219    ...
    220     ...   def updateEntry(self, obj, row, site):
     220    ...   def updateEntry(self, obj, row, site, filename):
    221221    ...     # This is not strictly necessary, as the default
    222222    ...     # updateEntry method does exactly the same
Note: See TracChangeset for help on using the changeset viewer.