Changeset 1126
- Timestamp:
- 21 Dec 2006, 23:38:42 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Students.py
r1125 r1126 794 794 study_course.getContent().edit(mapping=dsc) 795 795 self.students_catalog.addRecord(**catalog_entry) 796 if tr_count > MAX_TRANS:797 if len(no_import) > 1:796 if tr_count > 10: 797 if len(no_import) > 0: 798 798 open("%s/import/%s_not_imported.csv" % (i_home,name),"w+").write( 799 799 '\n'.join(no_import)) … … 804 804 total += tr_count 805 805 tr_count = 0 806 open("%s/import/%s_not_imported.csv" % (i_home,name),"w+").write( 807 '\n'.join(no_import)) 806 808 return self.REQUEST.RESPONSE.redirect("%s" % self.REQUEST.get('URL1')) 807 809 ###)
Note: See TracChangeset for help on using the changeset viewer.