Changeset 4898 for waeup/trunk/src
- Timestamp:
- 27 Jan 2010, 11:40:43 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/trunk/src/waeup/browser/pages.py
r4887 r4898 569 569 self.fullpath = os.path.join(self.context.storage, self.filename) 570 570 self.importer = getUtility(IBatchProcessor, name=self.importername) 571 (linenum, self.warn_num) = self.importer.doImport( 571 572 # Perform batch processing... 573 # XXX: This might be better placed in datacenter module. 574 (linenum, self.warn_num, 575 fin_path, pending_path) = self.importer.doImport( 572 576 self.fullpath, self.headerfields, self.mode, 573 577 self.request.principal.id, logger=self.context.logger) 578 # Put result files in desired locations... 579 self.context.distProcessedFiles( 580 self.warn_num == 0, self.fullpath, fin_path, pending_path) 581 574 582 if self.warn_num: 575 583 self.flash('Processing of %d rows failed!' % self.warn_num)
Note: See TracChangeset for help on using the changeset viewer.