Changeset 6760


Ignore:
Timestamp:
14 Sep 2011, 02:09:08 (13 years ago)
Author:
uli
Message:

Remove unused imports.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py

    r6759 r6760  
    1616"""UI components for students and related components.
    1717"""
    18 import sys
    1918import grok
    2019
    21 from datetime import datetime
    22 from zope.formlib.widget import CustomWidgetFactory
    23 from zope.formlib.form import setUpEditWidgets
    24 from zope.securitypolicy.interfaces import IPrincipalRoleManager
    25 from zope.traversing.browser import absoluteURL
    26 from zope.component import (
    27     createObject,)
    28 
    2920from hurry.workflow.interfaces import IWorkflowInfo, IWorkflowState
    30 from reportlab.pdfgen import canvas
    31 from reportlab.lib.units import cm
    32 from reportlab.lib.pagesizes import A4
    33 from reportlab.lib.styles import getSampleStyleSheet
    34 from reportlab.platypus import (Frame, Paragraph, Image,
    35     Table, Spacer)
    36 from reportlab.platypus.tables import TableStyle
    37 
     21from zope.component import createObject
    3822from waeup.sirp.accesscodes import invalidate_accesscode, get_access_code
    3923from waeup.sirp.accesscodes.workflow import USED
     
    4125    WAeUPPage, WAeUPEditFormPage, WAeUPAddFormPage, WAeUPDisplayFormPage)
    4226from waeup.sirp.browser.breadcrumbs import Breadcrumb
    43 from waeup.sirp.browser.layout import NullValidator
    44 from waeup.sirp.browser.pages import add_local_role, del_local_roles
    45 from waeup.sirp.browser.resources import datepicker, tabs, datatable
     27from waeup.sirp.browser.resources import datepicker, datatable
    4628from waeup.sirp.browser.viewlets import (
    47     ManageActionButton, PrimaryNavTab,
    48     AddActionButton, ActionButton, PlainActionButton,
    49     )
    50 from waeup.sirp.image.browser.widget import (
    51     ThumbnailWidget, EncodingImageFileWidget,
    52     )
    53 from waeup.sirp.image.image import createWAeUPImageFile
    54 from waeup.sirp.interfaces import (
    55     IWAeUPObject, ILocalRolesAssignable, IUserAccount,
    56     )
    57 from waeup.sirp.permissions import get_users_with_local_roles
    58 from waeup.sirp.university.interfaces import ICertificate
     29    ManageActionButton, PrimaryNavTab, AddActionButton)
     30from waeup.sirp.interfaces import IWAeUPObject, IUserAccount
    5931from waeup.sirp.widgets.datewidget import (
    6032    FriendlyDateWidget, FriendlyDateDisplayWidget)
    61 from waeup.sirp.widgets.restwidget import ReSTDisplayWidget
    62 from waeup.sirp.widgets.objectwidget import (
    63     WAeUPObjectWidget, WAeUPObjectDisplayWidget)
    6433from waeup.sirp.students.interfaces import (
    6534    IStudentsContainer, IStudent, IStudentClearance, IStudentPasswordSetting,
    66     IStudentPersonal, IStudentBase, IStudentStudyCourse,
    67     IStudentPayments, IStudentAccommodation, IStudentNavigation,
    68     IStudentBaseEdit, IStudentClearanceEdit,
     35    IStudentPersonal, IStudentBase, IStudentStudyCourse, IStudentPayments,
     36    IStudentAccommodation, IStudentClearanceEdit,
    6937    )
    70 from waeup.sirp.students.student import Student
    7138from waeup.sirp.students.catalog import search
    72 from waeup.sirp.accesscodes import invalidate_accesscode, get_access_code
    73 from waeup.sirp.accesscodes.workflow import USED
    7439from waeup.sirp.students.workflow import CLEARANCE
    7540
Note: See TracChangeset for help on using the changeset viewer.