Changeset 1127 for WAeUP_SRP/trunk/Students.py
- Timestamp:
- 21 Dec 2006, 23:48:02 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Students.py
r1126 r1127 574 574 if tr_count > 10: 575 575 if len(no_import) > 1: 576 open("%s/import/%s_not_imported.csv" % (i_home,name)," w+").write(576 open("%s/import/%s_not_imported.csv" % (i_home,name),"a").write( 577 577 '\n'.join(no_import)) 578 578 no_import = [] … … 582 582 total += tr_count 583 583 tr_count = 0 584 open("%s/import/%s_not_imported.csv" % (i_home,name)," w+").write(584 open("%s/import/%s_not_imported.csv" % (i_home,name),"a").write( 585 585 '\n'.join(no_import)) 586 586 return self.REQUEST.RESPONSE.redirect("%s" % self.REQUEST.get('URL1')) … … 796 796 if tr_count > 10: 797 797 if len(no_import) > 0: 798 open("%s/import/%s_not_imported.csv" % (i_home,name)," w+").write(798 open("%s/import/%s_not_imported.csv" % (i_home,name),"a").write( 799 799 '\n'.join(no_import)) 800 800 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(806 open("%s/import/%s_not_imported.csv" % (i_home,name),"a").write( 807 807 '\n'.join(no_import)) 808 808 return self.REQUEST.RESPONSE.redirect("%s" % self.REQUEST.get('URL1'))
Note: See TracChangeset for help on using the changeset viewer.