Ignore:
Timestamp:
3 Nov 2007, 07:34:33 (17 years ago)
Author:
Henrik Bettermann
Message:

switch back to pce import

File:
1 edited

Legend:

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

    r2507 r2508  
    3434response = request.RESPONSE
    3535setheader = request.RESPONSE.setHeader
    36 def rwrite(s):
    37     response.setHeader('Content-type','text/html; charset=ISO-8859-15')
    38     response.write("%s<br>\n\r" % s)
     36#def rwrite(s):
     37#    response.setHeader('Content-type','text/html; charset=ISO-8859-15')
     38#    response.write("%s<br>\n\r" % s)
    3939
    4040#logger.info('')
     
    6464        results = study_level.objectIds()
    6565    except:
    66         rwrite('not found %s/study_course/%s' % (brain.id,brain.level))
     66        #rwrite('not found %s/study_course/%s' % (brain.id,brain.level))
    6767        continue
    6868    if not results:
    69         rwrite('no result objects in %s/study_course/%s' % (brain.id,brain.level))
     69        pass
     70        #rwrite('no result objects in %s/study_course/%s' % (brain.id,brain.level))
    7071    else:
    7172        logger.info("moving  results of student %s" % (brain.id))
     
    7576msg = "finished moving  results of %d students" % (moved)
    7677logger.info(msg)
    77 rwrite(msg)
     78#rwrite(msg)
    7879
     80
Note: See TracChangeset for help on using the changeset viewer.