Ignore:
Timestamp:
25 Sep 2013, 06:46:53 (11 years ago)
Author:
Henrik Bettermann
Message:

Convert longtitle() into property attribute.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/export.py

    r10296 r10650  
    476476            value = certificate.title
    477477        if name == 'department' and certificate is not None:
    478             value = certificate.__parent__.__parent__.longtitle()
     478            value = certificate.__parent__.__parent__.longtitle
    479479        if name == 'faculty' and certificate is not None:
    480             value = certificate.__parent__.__parent__.__parent__.longtitle()
     480            value = certificate.__parent__.__parent__.__parent__.longtitle
    481481        if name == 'passport_path' and certificate is not None:
    482482            file_id = IFileStoreNameChooser(context).chooseName(attr='passport.jpg')
Note: See TracChangeset for help on using the changeset viewer.