Changeset 3071 for WAeUP_SRP/base
- Timestamp:
- 31 Jan 2008, 07:07:53 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTool.py
r3064 r3071 1995 1995 current_level) 1996 1996 verdict = d['verdict'] = d['current_verdict'] = mapping.get('current_verdict','') 1997 1997 1998 1998 #if verdict == student_record.verdict: 1999 1999 # return '','student %s: verdict already set to %s' % (student_id, … … 2134 2134 tr_count += 1 2135 2135 total_imported += 1 2136 logger.info("%(total_imported)d %(mode)sed of %(total)d%(em)s" % vars())2136 logger.info("%(total_imported)d of %(total)d imported in %(mode)s mode, %(em)s" % vars()) 2137 2137 2138 2138 if total and not total % commit_after: … … 2158 2158 open("%s/import/%s_not_imported%s.csv" % (i_home,filename,current),"a").write( 2159 2159 '\n'.join(not_imported)) 2160 if mode.endswith('e'):2161 mode = mode[:-1]2162 em = "Finished %(mode)sing from %(filename)s.csv: %(total_imported)d %(mode)sed, %(total_not_imported)d not %(mode)sed (of total %(total)d)" % vars()2160 #if mode.endswith('e'): 2161 # mode = mode[:-1] 2162 em = "Finished importing in %(mode)s mode from %(filename)s.csv: %(total_imported)d imported, %(total_not_imported)d not imported (of total %(total)d)" % vars() 2163 2163 logger.info(em) 2164 2164 return em
Note: See TracChangeset for help on using the changeset viewer.