Ignore:
Timestamp:
18 Jun 2009, 13:33:42 (16 years ago)
Author:
uli
Message:

Import needed stuff at the beginning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/university/certificate.py

    r4311 r4318  
    22"""
    33import grok
     4from hurry.workflow.interfaces import IWorkflowInfo, IWorkflowState
    45from zope.component.interfaces import IFactory
    56from waeup.interfaces import ICertificate, ICertificateContainer
     
    3031
    3132    def getReviewState(self):
    32         from hurry.workflow.interfaces import IWorkflowState
    3333        return IWorkflowState(self).getState()
    3434
    3535    def setReviewState(self, transition_id='check'):
    36         from hurry.workflow.interfaces import IWorkflowInfo
    3736        info = IWorkflowInfo(self)
    3837        info.fireTransition(transition_id)
Note: See TracChangeset for help on using the changeset viewer.