Ignore:
Timestamp:
3 Jun 2015, 11:11:39 (10 years ago)
Author:
Henrik Bettermann
Message:

More docs.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/students
Files:
2 edited

Legend:

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

    r13024 r13028  
    756756
    757757    def update(self):
    758         cdm = getUtility(IStudentsUtils).clearance_disabled_message(self.context)
     758        cdm = getUtility(IStudentsUtils).clearance_disabled_message(
     759            self.context)
    759760        if cdm:
    760761            self.flash(cdm)
     
    773774
    774775class StudentRejectClearancePage(KofaEditFormPage):
    775     """ Reject clearance by clearance officers
     776    """ Reject clearance by clearance officers.
    776777    """
    777778    grok.context(IStudent)
     
    783784
    784785    def update(self):
    785         cdm = getUtility(IStudentsUtils).clearance_disabled_message(self.context)
     786        cdm = getUtility(IStudentsUtils).clearance_disabled_message(
     787            self.context)
    786788        if cdm:
    787789            self.flash(cdm, type="warning")
  • main/waeup.kofa/trunk/src/waeup/kofa/students/student.py

    r13026 r13028  
    239239        current_level=None, current_verdict=None, previous_verdict=None):
    240240        """ Creates a new studycourse and backups the old one.
    241 
    242241        """
    243242        newcourse = createObject(u'waeup.StudentStudyCourse')
     
    267266        self.__parent__.logger.info(
    268267            '%s - transferred from %s to %s' % (
    269             self.student_id, oldcourse.certificate.code, newcourse.certificate.code))
     268            self.student_id,
     269            oldcourse.certificate.code,
     270            newcourse.certificate.code))
    270271        history = IObjectHistory(self)
    271272        history.addMessage('Transferred from %s to %s' % (
Note: See TracChangeset for help on using the changeset viewer.