Changeset 595 for WAeUP_SRP


Ignore:
Timestamp:
29 Sep 2006, 13:54:22 (18 years ago)
Author:
joachim
Message:

export File now written with the correct portal_type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Academics.py

    r593 r595  
    795795        current = DateTime.DateTime().strftime("%d-%m-%y_%H_%M_%S")
    796796        logger.info('Start exporting %(name)s to %(name)s_%(current)s.csv' % vars())
    797         objects = [f.getObject() for f in self.portal_catalog({'meta_type': 'Faculty'})]
     797        objects = [f.getObject() for f in self.portal_catalog({'meta_type': portal_type})]
    798798        export = []
    799799        export.append('"code","users"')
Note: See TracChangeset for help on using the changeset viewer.