Changeset 15910 for main


Ignore:
Timestamp:
8 Jan 2020, 09:58:08 (5 years ago)
Author:
Henrik Bettermann
Message:

Use getattr().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py

    r15896 r15910  
    11771177            key=lambda ticket: ticket.student.depcode
    11781178                               + ticket.student.faccode
    1179                                + ticket.student.matric_number)
     1179                               + getattr(ticket.student, 'matric_number', '')
     1180                               )
    11801181        no = 1
    11811182        tickets = []
Note: See TracChangeset for help on using the changeset viewer.