Ignore:
Timestamp:
8 Mar 2012, 19:00:51 (13 years ago)
Author:
uli
Message:

Rename all non-locales stuff from sirp to kofa.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/workflow.py

    r7690 r7811  
    55from hurry.workflow.workflow import Transition, WorkflowState, NullCondition
    66from hurry.workflow.interfaces import IWorkflowState, IWorkflowTransitionEvent
    7 from waeup.sirp.interfaces import (
    8     IObjectHistory, ISIRPWorkflowInfo, ISIRPUtils,
     7from waeup.kofa.interfaces import (
     8    IObjectHistory, IKOFAWorkflowInfo, IKOFAUtils,
    99    CREATED, ADMITTED, CLEARANCE, REQUESTED, CLEARED, PAID, RETURNING,
    1010    REGISTERED, VALIDATED)
    11 from waeup.sirp.interfaces import MessageFactory as _
    12 from waeup.sirp.workflow import SIRPWorkflow, SIRPWorkflowInfo
    13 from waeup.sirp.students.interfaces import IStudent, IStudentsUtils
     11from waeup.kofa.interfaces import MessageFactory as _
     12from waeup.kofa.workflow import KOFAWorkflow, KOFAWorkflowInfo
     13from waeup.kofa.students.interfaces import IStudent, IStudentsUtils
    1414
    1515
     
    156156UNLOCK_CLEARANCE_TRANS = ('reset3', 'reset4', 'start_clearance')
    157157
    158 registration_workflow = SIRPWorkflow(REGISTRATION_TRANSITIONS)
     158registration_workflow = KOFAWorkflow(REGISTRATION_TRANSITIONS)
    159159
    160160class RegistrationWorkflowState(WorkflowState, grok.Adapter):
     
    167167    state_id = 'wf.registration.id'
    168168
    169 class RegistrationWorkflowInfo(SIRPWorkflowInfo, grok.Adapter):
     169class RegistrationWorkflowInfo(KOFAWorkflowInfo, grok.Adapter):
    170170    """Adapter to adapt Student objects to workflow info objects.
    171171    """
    172172    grok.context(IStudent)
    173     grok.provides(ISIRPWorkflowInfo)
     173    grok.provides(IKOFAWorkflowInfo)
    174174
    175175    def __init__(self, context):
Note: See TracChangeset for help on using the changeset viewer.