Changeset 15550 for main/waeup.kofa


Ignore:
Timestamp:
19 Aug 2019, 12:06:05 (5 years ago)
Author:
Henrik Bettermann
Message:

Do it right.

File:
1 edited

Legend:

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

    r15549 r15550  
    113113        appcats_dict = getUtility(
    114114            IApplicantsUtils).APP_TYPES_DICT
    115         return sorted([item[0] for item in appcats_dict.items()],
    116                       key=lambda value: value[1])
     115        return [item[0] for item in sorted(appcats_dict.items(),
     116                                           key=lambda item: item[1])]
    117117
    118118    def getToken(self, context, value):
Note: See TracChangeset for help on using the changeset viewer.