Changeset 2478 for WAeUP_SRP/base


Ignore:
Timestamp:
30 Oct 2007, 13:19:19 (17 years ago)
Author:
Henrik Bettermann
Message:

enable import of previous_verdict

Location:
WAeUP_SRP/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTool.py

    r2467 r2478  
    12291229                              'current_mode',
    12301230                              'current_verdict',
     1231                              'previous_verdict',
    12311232                              )
    12321233                              },
     
    13571358                for field in intersect:
    13581359                    changed = False
    1359                     if getattr(sub_doc,field) != mapping.get(field,''):
     1360                    if getattr(sub_doc,field,None) != mapping.get(field,''):
    13601361                        any_change = True
    13611362                        changed = True
  • WAeUP_SRP/base/skins/waeup_utilities/fix06Verdict.py

    r2475 r2478  
    3333#logger.info('')
    3434
    35 query = ~ Eq('verdict','N/A') & In('session',('2006/2007','06','6'))
     35query = ~ Eq('verdict','N/A') & ~ Eq('verdict','') & In('session',('2006/2007','06','6'))
    3636brains = aq_students(query)
    3737total = len(brains)
Note: See TracChangeset for help on using the changeset viewer.