Changeset 7050


Ignore:
Timestamp:
8 Nov 2011, 22:39:05 (13 years ago)
Author:
uli
Message:

Remove more obsolete imports.

Location:
main/waeup.sirp/branches/ulif-extimgstore/src/waeup/sirp/applicants
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/branches/ulif-extimgstore/src/waeup/sirp/applicants/browser.py

    r7002 r7050  
    5454    ManageActionButton, PrimaryNavTab, LeftSidebarLink
    5555    )
    56 from waeup.sirp.image.browser.widget import (
    57     ThumbnailWidget, EncodingImageFileWidget,
    58     )
    5956from waeup.sirp.image.image import createWAeUPImageFile
    6057from waeup.sirp.interfaces import (
     
    6764from waeup.sirp.widgets.objectwidget import (
    6865    WAeUPObjectWidget, WAeUPObjectDisplayWidget)
    69 from waeup.sirp.applicants import (
    70     ResultEntry, Applicant, get_applicant_data, get_regno_or_ac)
     66from waeup.sirp.applicants import ResultEntry, Applicant, get_applicant_data
    7167from waeup.sirp.applicants.interfaces import (
    7268    IApplicant, IApplicantPrincipal,IApplicantEdit, IApplicantsRoot,
     
    730726            #storage = queryUtility(IExtFileStorage)
    731727            # filename = '__img_appl__' + str(self.context.reg_no) #upload.filename
    732             from waeup.sirp.interfaces import (
    733                 IExtFileStore, IFileStoreNameChooser)
    734728            store = getUtility(IExtFileStore)
    735729            file_id = IFileStoreNameChooser(self.context).chooseName()
  • main/waeup.sirp/branches/ulif-extimgstore/src/waeup/sirp/applicants/tests/test_interfaces.py

    r6340 r7050  
    2525import unittest
    2626from zc.sourcefactory.browser.source import FactoredTerms
    27 from zope.browser.interfaces import ITerms
    28 from zope.component import getMultiAdapter
    29 from zope.interface.verify import verifyClass, verifyObject
    3027from zope.publisher.browser import TestRequest
    31 from waeup.sirp.applicants import interfaces
    32 from waeup.sirp.applicants.vocabularies import (
    33     APPLICATION_TYPES, application_types_vocab, GenderSource,
    34     )
     28from waeup.sirp.applicants.vocabularies import application_types_vocab
     29from waeup.sirp.students.vocabularies import GenderSource
    3530
    3631class ApplicationCategoriesTestCase(unittest.TestCase):
  • main/waeup.sirp/branches/ulif-extimgstore/src/waeup/sirp/applicants/vocabularies.py

    r6744 r7050  
    11"""Vocabularies and sources for the application section.
    22"""
    3 from datetime import datetime
    43from zope.component import getUtility
    54from zope.catalog.interfaces import ICatalog
    6 from zc.sourcefactory.basic import BasicSourceFactory
    7 from zc.sourcefactory.contextual import BasicContextualSourceFactory
    85from waeup.sirp.interfaces import SimpleWAeUPVocabulary
    9 from waeup.sirp.students.lgas import LGAS
    10 from waeup.sirp.students.vocabularies import (
    11     CertificateSource, GenderSource)
     6from waeup.sirp.students.vocabularies import CertificateSource
    127
    138#: Types of applications we support.
  • main/waeup.sirp/branches/ulif-extimgstore/src/waeup/sirp/applicants/workflow.py

    r6644 r7050  
    22"""
    33import grok
    4 from datetime import datetime
    54from hurry.workflow.workflow import Transition, WorkflowState, NullCondition
    65from hurry.workflow.interfaces import IWorkflowState, IWorkflowTransitionEvent
Note: See TracChangeset for help on using the changeset viewer.