Changeset 2508 for WAeUP_SRP


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

switch back to pce import

Location:
WAeUP_SRP/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTables.py

    r2503 r2508  
    691691    def importCSV(self,filename="JAMB_data",
    692692                  schema_id="application",
    693                   layout_id="application_pde",
     693                  layout_id="application_pce",
    694694                  mode='add'):
    695695        """ import JAMB data """
  • 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.