Ignore:
Timestamp:
13 Dec 2014, 09:36:29 (10 years ago)
Author:
Henrik Bettermann
Message:

Remove unused lists and tuples.

Location:
main/waeup.ikoba/trunk/src/waeup/ikoba
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/batching.py

    r12129 r12212  
    4646    ICustomerDocument, IContract, ISampleContract)
    4747from waeup.ikoba.customers.workflow import  (
    48     IMPORTABLE_REGISTRATION_STATES, IMPORTABLE_REGISTRATION_TRANSITIONS,
    49     IMPORTABLE_CONTRACT_STATES, IMPORTABLE_CONTRACT_TRANSITIONS)
     48    IMPORTABLE_REGISTRATION_STATES, IMPORTABLE_REGISTRATION_TRANSITIONS)
    5049from waeup.ikoba.utils.batching import BatchProcessor
    5150
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/workflow.py

    r12210 r12212  
    144144    return
    145145
    146 # Contract workflow (the same as verification workflow)
    147 
    148 IMPORTABLE_CONTRACT_STATES = (CREATED, SUBMITTED, APPROVED, REJECTED, EXPIRED)
     146
     147# Contract workflow
     148
    149149
    150150CONTRACT_TRANSITIONS = (
     
    214214    )
    215215
    216 
    217 IMPORTABLE_CONTRACT_TRANSITIONS = [
    218     i.transition_id for i in REGISTRATION_TRANSITIONS]
    219216
    220217contract_workflow = IkobaWorkflow(CONTRACT_TRANSITIONS)
  • main/waeup.ikoba/trunk/src/waeup/ikoba/documents/workflow.py

    r12210 r12212  
    3232from waeup.ikoba.utils.helpers import get_current_principal
    3333from waeup.ikoba.documents.interfaces import IDocument
    34 
    35 IMPORTABLE_STATES = (CREATED, SUBMITTED, VERIFIED, REJECTED, EXPIRED)
    3634
    3735VERIFICATION_TRANSITIONS = (
     
    109107
    110108
    111 IMPORTABLE_TRANSITIONS = [i.transition_id for i in VERIFICATION_TRANSITIONS]
    112 
    113109verification_workflow = IkobaWorkflow(VERIFICATION_TRANSITIONS)
    114110
Note: See TracChangeset for help on using the changeset viewer.