Ignore:
Timestamp:
7 Mar 2012, 10:07:04 (13 years ago)
Author:
uli
Message:

Fix imports, clean up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/branches/ulif-schoolgrades/src/waeup/sirp/applicants/applicant.py

    r7761 r7774  
    2323from zope.component.interfaces import IFactory
    2424from zope.event import notify
     25from zope.schema.fieldproperty import FieldProperty
    2526from zope.securitypolicy.interfaces import IPrincipalRoleManager
    2627from zope.interface import implementedBy
     
    3132from waeup.sirp.interfaces import (
    3233    IObjectHistory, IFileStoreHandler, IFileStoreNameChooser, ISIRPUtils,
    33     IExtFileStore, IPDF, IUserAccount)
     34    IExtFileStore, IPDF, IUserAccount, IResultEntry)
    3435from waeup.sirp.students.vocabularies import RegNumNotInSource
    3536from waeup.sirp.utils.helpers import attrs_to_fields
     
    3738from waeup.sirp.applicants.workflow import application_states_dict
    3839
    39 from waeup.sirp.applicants.interfaces import IResultEntry
    40 from zope.schema.fieldproperty import FieldProperty
    4140class ResultEntry(grok.Model):
    4241    grok.implements(IResultEntry)
    4342    subject = FieldProperty(IResultEntry['subject'])
    4443    grade = FieldProperty(IResultEntry['grade'])
    45 
    46     #def __init__(self, subject=None, grade=None):
    47     #    self.subject = subject
    48     #    self.grade = grade
    4944
    5045class Applicant(grok.Container):
Note: See TracChangeset for help on using the changeset viewer.