Changeset 4318 for waeup/branches/ulif-rewrite/src
- Timestamp:
- 18 Jun 2009, 13:33:42 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/university/certificate.py
r4311 r4318 2 2 """ 3 3 import grok 4 from hurry.workflow.interfaces import IWorkflowInfo, IWorkflowState 4 5 from zope.component.interfaces import IFactory 5 6 from waeup.interfaces import ICertificate, ICertificateContainer … … 30 31 31 32 def getReviewState(self): 32 from hurry.workflow.interfaces import IWorkflowState33 33 return IWorkflowState(self).getState() 34 34 35 35 def setReviewState(self, transition_id='check'): 36 from hurry.workflow.interfaces import IWorkflowInfo37 36 info = IWorkflowInfo(self) 38 37 info.fireTransition(transition_id)
Note: See TracChangeset for help on using the changeset viewer.