~aelkner/schooltool/january_fixes

« back to all changes in this revision

Viewing changes to src/schooltool/commendation/interfaces.py

  • Committer: Gediminas Paulauskas
  • Date: 2009-12-30 17:38:37 UTC
  • mfrom: (2532.1.44 schooltool_makefile)
  • Revision ID: menesis@pov.lt-20091230173837-tbvd13wlmvvochmo
Port to Zope versions available in Karmic (LP: #498803)

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
import zope.interface
29
29
import zope.schema
30
30
import zope.i18nmessageid
31
 
from zope.app import container
 
31
from zope import container
32
32
 
33
33
# Since Zope 3 is an application server and does not know the users locale
34
34
# until a request is issued, we can only mark all strings that are supposed to
78
78
# component management. It basically implements the Python mapping
79
79
# API. However, its methods have to do a little bit more work, so that it
80
80
# integrates nicely into the Zope 3 framework.
81
 
class ICommendations(zope.app.container.interfaces.IContainer):
 
81
class ICommendations(container.interfaces.IContainer):
82
82
    '''An object containing several commendations.'''
83
83
    container.constraints.contains(ICommendation)
84
84