Ignore:
Timestamp:
27 Nov 2015, 05:02:43 (9 years ago)
Author:
Henrik Bettermann
Message:

Just return an error message.

File:
1 edited

Legend:

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

    r13502 r13506  
    140140                    amount = academic_session.maint_fee
    141141            else:
    142                 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
    143                 p_item = trans(_('No bed allocated.'), portal_language)
     142                return _(u'No bed allocated.'), None
    144143        elif category == 'welfare':
    145144            amount = academic_session.welfare_fee
Note: See TracChangeset for help on using the changeset viewer.