Ignore:
Timestamp:
22 Mar 2012, 03:18:58 (13 years ago)
Author:
uli
Message:

Shorten overlong lines.

File:
1 edited

Legend:

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

    r7819 r7948  
    117117    @property
    118118    def current_session(self):
    119         session = getattr(self.get('studycourse', None), 'current_session', None)
     119        session = getattr(
     120            self.get('studycourse', None), 'current_session', None)
    120121        return session
    121122
    122123    @property
    123124    def current_mode(self):
    124         certificate = getattr(self.get('studycourse', None), 'certificate', None)
     125        certificate = getattr(
     126            self.get('studycourse', None), 'certificate', None)
    125127        if certificate is not None:
    126128            return certificate.study_mode
     
    150152def handle_student_added(student, event):
    151153    """If a student is added all subcontainers are automatically added
    152     and the transition create is fired. The latter produces a logging message.
     154    and the transition create is fired. The latter produces a logging
     155    message.
    153156    """
    154157    reg_state = IWorkflowState(student).getState()
     
    246249        stud_id = self.context.student_id
    247250        marked_filename = '__%s__%s/%s/%s_%s%s' % (
    248             STUDENT_FILE_STORE_NAME, stud_id[0], stud_id, basename, stud_id, ext)
     251            STUDENT_FILE_STORE_NAME, stud_id[0], stud_id, basename,
     252            stud_id, ext)
    249253        return marked_filename
    250254
Note: See TracChangeset for help on using the changeset viewer.