Index: /WAeUP_SRP/trunk/Students.py
===================================================================
--- /WAeUP_SRP/trunk/Students.py	(revision 2037)
+++ /WAeUP_SRP/trunk/Students.py	(revision 2038)
@@ -1116,4 +1116,5 @@
             logger.error('Error reading %s.csv' % name)
             return
+        total = len(results)
         l = self.portal_catalog({'meta_type': "Course"})
         courses = [f.getId for f in l]
@@ -1183,10 +1184,10 @@
                                             '\n'.join(no_course_list) + '\n')
                     no_course_list = []
-                em = '%d transactions commited total %s\n courses not found %s' % (tr_count,total,course_count)
+                em = '%d transactions comitted, %s courses not found ' % (tr_count,course_count)
                 transaction.commit()
                 logger.info(em)
                 regs = []
                 total += tr_count
-                tr_count = 0
+                #tr_count = 0
         open("%s/import/%simported%s.csv" % (i_home,name,current),"a").write(
                                             '\n'.join(imported))
@@ -1196,5 +1197,5 @@
             open("%s/import/%sno_courses%s.csv" % (i_home,name,current),"a").write(
                                     '\n'.join(no_course_list))
-        em = '%d transactions commited total %s\n courses not found %s' % (tr_count,total,course_count)
+        em = '%d transactions of %s committed, %s courses not found ' % (tr_count,total,course_count)
         logger.info(em)
         return self.REQUEST.RESPONSE.redirect("%s" % self.REQUEST.get('URL1'))
