Ignore:
Timestamp:
22 Jun 2011, 13:51:55 (13 years ago)
Author:
Henrik Bettermann
Message:

Replace properties 'used' and 'disabled' by 'status'.

File:
1 edited

Legend:

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

    r6411 r6452  
    228228        if ac is None:
    229229            return None
    230         if ac.disabled is not False:
    231             return None
    232         if ac.used is not False and appl_ac != ac.representation:
     230        if ac.status == 'disabled':
     231            return None
     232        if ac.status == 'used' and appl_ac != ac.representation:
    233233            return None
    234234        if appl_ac is not None and appl_ac != ac.representation:
Note: See TracChangeset for help on using the changeset viewer.