Index: waeup/trunk/src/waeup/browser/pages.py
===================================================================
--- waeup/trunk/src/waeup/browser/pages.py	(revision 4879)
+++ waeup/trunk/src/waeup/browser/pages.py	(revision 4880)
@@ -569,8 +569,7 @@
         self.fullpath = os.path.join(self.context.storage, self.filename)
         self.importer = getUtility(IBatchProcessor, name=self.importername)
-        (linenum, warnings) = self.importer.doImport(
+        (linenum, self.warn_num) = self.importer.doImport(
             self.fullpath, self.headerfields, self.mode,
             self.request.principal.id)
-        self.warn_num = len(warnings)
         if self.warn_num:
             self.flash('Processing of %d rows failed!' % self.warn_num)
