Ignore:
Timestamp:
22 Jun 2013, 21:39:00 (11 years ago)
Author:
Henrik Bettermann
Message:

Remove futminna customizations which are not applicable here.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.imostate/src/waeup/imostate/applicants/applicant.py

    r10340 r10350  
    2525from kofacustom.nigeria.applicants.applicant import NigeriaApplicant
    2626from waeup.imostate.applicants.interfaces import(
    27     ICustomApplicant, ICustomUGApplicantEdit, ICustomPGApplicantEdit, IPUTMEApplicantEdit)
     27    ICustomApplicant, ICustomUGApplicantEdit)
    2828
    2929@grok.subscribe(ICustomApplicant, grok.IObjectRemovedEvent)
     
    3939class CustomApplicant(NigeriaApplicant):
    4040
    41     grok.implements(ICustomApplicant, ICustomUGApplicantEdit,
    42         ICustomPGApplicantEdit, IPUTMEApplicantEdit)
     41    grok.implements(ICustomApplicant, ICustomUGApplicantEdit)
    4342    grok.provides(ICustomApplicant)
    4443
    45     @property
    46     def low_jamb_score(self):
    47         jamb_score = getattr(self, 'jamb_score', None)
    48         course1 = getattr(self, 'course1', None)
    49         limit = getattr(course1, 'custom_float_1', None)
    50         if None in (jamb_score, limit):
    51             return False
    52         if jamb_score < limit:
    53             return True
    54         return False
    5544
    5645# Set all attributes of CustomApplicant required in ICustomApplicant as field
Note: See TracChangeset for help on using the changeset viewer.