Ignore:
Timestamp:
31 Jan 2008, 07:07:53 (17 years ago)
Author:
Henrik Bettermann
Message:

fix #74 fceokene

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTool.py

    r3064 r3071  
    19951995                                                                             current_level)
    19961996        verdict = d['verdict'] = d['current_verdict']  = mapping.get('current_verdict','')
    1997        
     1997
    19981998        #if verdict == student_record.verdict:
    19991999        #    return '','student %s: verdict already set to %s' % (student_id,
     
    21342134                tr_count += 1
    21352135                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())
    21372137
    21382138            if total and not total % commit_after:
     
    21582158            open("%s/import/%s_not_imported%s.csv" % (i_home,filename,current),"a").write(
    21592159                                                '\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()
    21632163        logger.info(em)
    21642164        return em
Note: See TracChangeset for help on using the changeset viewer.