Ignore:
Timestamp:
12 Jun 2015, 06:54:59 (9 years ago)
Author:
Henrik Bettermann
Message:

Rename method. Private methods are not found by Sphinx.

File:
1 edited

Legend:

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

    r12889 r13042  
    7272        return self.__parent__.__parent__.writeLogMessage(view, message)
    7373
    74     def _redeemTicket(self):
     74    def redeemTicket(self):
     75        """Either create an appropriate access code or trigger an action
     76        directly.
     77        """
    7578        student = self.student
    7679        if self.p_category == 'clearance':
     
    126129        """
    127130        if self.p_current:
    128             error = self._redeemTicket()
     131            error = self.redeemTicket()
    129132            if error is not None:
    130133                return 'danger', error, error
     
    138141        """
    139142        if self.p_current:
    140             error = self._redeemTicket()
     143            error = self.redeemTicket()
    141144            if error is not None:
    142145                return 'danger', error, error
Note: See TracChangeset for help on using the changeset viewer.