Ignore:
Timestamp:
7 Mar 2011, 13:27:42 (14 years ago)
Author:
uli
Message:

Fix function. The applicants are now stored in containers inside the
'applicants' container.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/root.py

    r5804 r5813  
    132132       exists.
    133133
    134        `identifier` can be an access code or a JAMB registration
    135        number. For JAMB screened applicants we use the JAMB
    136        registration number as key, for other applicants we use the
    137        access code.
     134       `identifier` will normally be an access code.
    138135    """
    139136    site = grok.getSite()
    140     if identifier in site['applications'].keys():
    141         return True
     137    for container in site['applicants'].values():
     138        if identifier in container.keys():
     139            return True
    142140    return False
Note: See TracChangeset for help on using the changeset viewer.