Ignore:
Timestamp:
5 Sep 2016, 08:31:40 (8 years ago)
Author:
Henrik Bettermann
Message:

Rename getDegreeClass.

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

Legend:

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

    r14157 r14159  
    138138        """
    139139
    140     def getDegreeClass(level_obj):
    141         """Get degree class title (used for SessionResultsPresentation
     140    def getDegreeClassNumber(level_obj):
     141        """Get degree class number (used for SessionResultsPresentation
    142142        reports).
    143143        """
  • main/waeup.kofa/trunk/src/waeup/kofa/students/reports/session_results_presentation.py

    r14157 r14159  
    8585            table[len(students_utils.gpa_boundaries)].append(line)
    8686            continue
    87         gpaclass = students_utils.getDegreeClass(level_obj)
     87        gpaclass = students_utils.getDegreeClassNumber(level_obj)
    8888        table[gpaclass].append(line)
    8989    return table
  • main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py

    r14157 r14159  
    826826        return 'N/A'
    827827
    828     def getDegreeClass(self, level_obj):
    829         """Get degree class title (used for SessionResultsPresentation
     828    def getDegreeClassNumber(self, level_obj):
     829        """Get degree class number (used for SessionResultsPresentation
    830830        reports).
    831831        """
Note: See TracChangeset for help on using the changeset viewer.