Changeset 9529


Ignore:
Timestamp:
4 Nov 2012, 21:28:48 (12 years ago)
Author:
Henrik Bettermann
Message:

Change variable name to avoid misleading tracebacks.

File:
1 edited

Legend:

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

    r9399 r9529  
    236236        year = data['year']
    237237        code = u'%s%s' % (data['prefix'], year)
    238         appcats_dict = getUtility(IApplicantsUtils).APP_TYPES_DICT
    239         title = appcats_dict[data['prefix']][0]
     238        apptypes_dict = getUtility(IApplicantsUtils).APP_TYPES_DICT
     239        title = apptypes_dict[data['prefix']][0]
    240240        title = u'%s %s/%s' % (title, year, year + 1)
    241241        if code in self.context.keys():
     
    401401        # Always refresh title. So we can change titles
    402402        # if APP_TYPES_DICT has been edited.
    403         appcats_dict = getUtility(IApplicantsUtils).APP_TYPES_DICT
    404         title = appcats_dict[self.context.prefix][0]
     403        apptypes_dict = getUtility(IApplicantsUtils).APP_TYPES_DICT
     404        title = apptypes_dict[self.context.prefix][0]
    405405        self.context.title = u'%s %s/%s' % (
    406406            title, self.context.year, self.context.year + 1)
Note: See TracChangeset for help on using the changeset viewer.