Ignore:
Timestamp:
23 Feb 2008, 22:59:10 (17 years ago)
Author:
Henrik Bettermann
Message:

2 old fixes (in custom)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_utilities/purgeCourseResultsObjects.py

    r3128 r3206  
    2727logger = logging.getLogger('Skins.purgeCourseResultsObjects')
    2828from Products.AdvancedQuery import Eq, Between, Le,In
    29 aq_results = context.course_results.evalAdvancedQuery 
     29aq_results = context.course_results.evalAdvancedQuery
    3030aq_portal = context.portal_catalog_real.evalAdvancedQuery
    3131#aq_students = context.students_catalog.evalAdvancedQuery
     
    7272    if moved and not moved % commit_after:
    7373        context.waeup_tool.doCommit()
    74         logger.info("Committing %s transactions, total %s" % (commit_after,count))
     74        logger.info("Committing %s transactions, total %s" % (commit_after,len(to_move)))
    7575        # cocount += 1
    7676        # if cocount > 2:
Note: See TracChangeset for help on using the changeset viewer.