Changeset 6470 for main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Timestamp:
- 23 Jun 2011, 12:31:09 (14 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/authentication.py
r6465 r6470 228 228 if ac is None: 229 229 return None 230 if ac.stat us== 'disabled':231 return None 232 if ac.stat us== 'used' and appl_ac != ac.representation:230 if ac.state == 'disabled': 231 return None 232 if ac.state == 'used' and appl_ac != ac.representation: 233 233 return None 234 234 if appl_ac is not None and appl_ac != ac.representation: -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py
r6469 r6470 426 426 427 427 # Mark pin as used (this also fires a pin related transition) 428 if get_access_code(pin).stat us== USED:428 if get_access_code(pin).state == USED: 429 429 pass 430 430 else: -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontainermanagepage.pt
r6461 r6470 65 65 <th>ID 66 66 </th> 67 <th>stat us67 <th>state 68 68 </th> 69 69 </tr> -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_authentication.py
r6452 r6470 50 50 51 51 class FakeAccessCode(object): 52 def __init__(self, repr, stat us= 'initialized'):52 def __init__(self, repr, state = 'initialized'): 53 53 self.representation = repr 54 self.stat us = status54 self.state = state 55 55 56 56 class FakeApplication(object):
Note: See TracChangeset for help on using the changeset viewer.