Ignore:
Timestamp:
11 Feb 2007, 22:35:16 (18 years ago)
Author:
Henrik Bettermann
Message:

Protolollierung geändert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_utilities/fixLevelFromResults.py

    r1407 r1408  
    4848    erg = context.results_import(matric_no=sbrain.matric_no)
    4949    if erg and erg[0].Level:
    50         lc = "N"
     50        #lc = "N"
    5151        level_res = erg[0].Level
    5252        everdict = erg[0].Verdict
    5353        level_cc = context.getLevelFromResultsCosCode(erg)
    54         if level_cc == 0:
    55             lc = "-"
    56         if "%d00" % level_cc != level_res:
    57             lc = "!"
     54        #if level_cc == 0:
     55            #lc = "-"
     56        #if "%d00" % level_cc != level_res:
     57        lc = 100*level_cc - int(level_res)
    5858        verdict,elegible = context.getVerdict(everdict)
    5959        if elegible:
    60             lc = "S"
     60            #lc = "S"
    6161            level = "%d00" % (level_cc + 1)
    6262        #context.students_catalog.modifyRecord(id = sbrain.id,
     
    8181
    8282        #rwrite(ec +"--"+ sbrain.id +"--"+ sbrain.matric_no +"--"+ old_level +"--"+ level +"<br />")
    83         s = '"%s","%s","%s","%s","%s","%s","%s","%s"' % (lc,ec,
     83        s = '"%s", "%s","%s","%s","%s","%s","%s","%s"' % (str(lc),ec,
    8484                                                           sbrain.id,
    8585                                                           sbrain.matric_no,
Note: See TracChangeset for help on using the changeset viewer.