From c0e0c3e596b10445498fd6fe5951b249ef7e0b38 Mon Sep 17 00:00:00 2001 From: Worros Date: Mon, 15 Feb 2010 23:26:23 +0800 Subject: [PATCH] Add comment to Bulk import Too lazy to stash --- pyfpdb/GuiBulkImport.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyfpdb/GuiBulkImport.py b/pyfpdb/GuiBulkImport.py index 84828493..0391bc37 100755 --- a/pyfpdb/GuiBulkImport.py +++ b/pyfpdb/GuiBulkImport.py @@ -106,6 +106,9 @@ class GuiBulkImport(): print 'GuiBulkImport.load done: Stored: %d \tDuplicates: %d \tPartial: %d \tErrors: %d in %s seconds - %.0f/sec'\ % (stored, dups, partial, errs, ttime, (stored+0.0) / ttime) self.importer.clearFileList() + # This file should really be 'logging' + #log.info('GuiBulkImport.load done: Stored: %d \tDuplicates: %d \tPartial: %d \tErrors: %d in %s seconds - %.0f/sec'\ + # % (stored, dups, partial, errs, ttime, (stored+0.0) / ttime)) if self.n_hands_in_db == 0 and stored > 0: self.cb_dropindexes.set_sensitive(True) self.cb_dropindexes.set_active(0)