Changeset 3983


Ignore:
Timestamp:
26 Feb 2009, 22:19:33 (16 years ago)
Author:
Henrik Bettermann
Message:

exportCertificateCoursesToCSV: don't log all

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Academics.py

    r3477 r3983  
    701701                for certificate in department.certificates.objectValues():
    702702                    di['certificate_code'] = certificate.id
     703                    logger.info('Exporting %s/%s/%s' % (faculty.id,department.id,certificate.id))
    703704                    for level in certificate.objectValues():
    704705                        di['level'] = level.id
     
    710711                            try:
    711712                                export.append(dataline % di)
    712                                 logger.info('Exporting %s %s ' % (certificate.id, certificate.title))
    713713                            except:
    714                                 logger.info('Could not export %s %s ' % (certificate.id, certificate.title))
     714                                logger.info('Could not export %s %s' % (certificate.id, di['code']))
    715715                                continue
    716716        open("%s/export/%s-%s.csv" % (i_home,name,current),"w+").write('\n'.join(export))
Note: See TracChangeset for help on using the changeset viewer.