Changeset 3912


Ignore:
Timestamp:
6 Feb 2009, 22:39:33 (16 years ago)
Author:
uli
Message:

Clean up imports, be more verbose.

File:
1 edited

Legend:

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

    r3910 r3912  
    11import grok
    2 from zope.component import getUtility, getMultiAdapter
     2from zope.component import getUtility
    33from zope.component.interfaces import Invalid
    44from zope.exceptions import DuplicationError
    5 from waeup.basecontainer import BaseContainer
    6 from waeup.interfaces import IFacultyContainer
     5from waeup.interfaces import IFacultyContainer, IFaculty
    76from waeup.viewlets import MainArea, LeftSidebar, Index, Add, FormWrapMixin
    8 from interfaces import IFaculty
    9 from faculty import Faculty
    10 
    11 from zope.schema import ValidationError
     7from waeup.university.faculty import Faculty
    128
    139class FacultyContainer(grok.Container):
    14 
     10    """See interfaces for description.
     11    """
     12   
    1513    grok.implements(IFacultyContainer)
    1614    grok.require('waeup.manageUniversity')
     
    3634grok.global_utility(FacultyContainer, provides=IFacultyContainer)
    3735
     36#
     37# Viewing / Layout stuff...
     38#
    3839class Content(grok.Viewlet):
    3940    grok.viewletmanager(MainArea)
Note: See TracChangeset for help on using the changeset viewer.