- Timestamp:
- 26 Feb 2009, 22:19:33 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Academics.py
r3477 r3983 701 701 for certificate in department.certificates.objectValues(): 702 702 di['certificate_code'] = certificate.id 703 logger.info('Exporting %s/%s/%s' % (faculty.id,department.id,certificate.id)) 703 704 for level in certificate.objectValues(): 704 705 di['level'] = level.id … … 710 711 try: 711 712 export.append(dataline % di) 712 logger.info('Exporting %s %s ' % (certificate.id, certificate.title))713 713 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'])) 715 715 continue 716 716 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.