Ignore:
Timestamp:
6 May 2012, 12:32:23 (13 years ago)
Author:
uli
Message:

Safety belt.

File:
1 edited

Legend:

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

    r7811 r8368  
    5353
    5454    def getStudent(self):
    55         return self.__parent__.__parent__
     55        try:
     56            return self.__parent__.__parent__
     57        except AttributeError:
     58            return None
    5659
    5760StudentOnlinePayment = attrs_to_fields(StudentOnlinePayment)
Note: See TracChangeset for help on using the changeset viewer.