[Zope3-checkins] SVN: Zope3/trunk/src/bugtracker/ Don't use
IContentContainer but explicit containerViews zcml directive
Julien Anguenot
ja at nuxeo.com
Sat Jun 18 12:31:38 EDT 2005
Log message for revision 30849:
Don't use IContentContainer but explicit containerViews zcml directive
Changed:
U Zope3/trunk/src/bugtracker/configure.zcml
U Zope3/trunk/src/bugtracker/interfaces.py
-=-
Modified: Zope3/trunk/src/bugtracker/configure.zcml
===================================================================
--- Zope3/trunk/src/bugtracker/configure.zcml 2005-06-18 16:31:20 UTC (rev 30848)
+++ Zope3/trunk/src/bugtracker/configure.zcml 2005-06-18 16:31:38 UTC (rev 30849)
@@ -239,9 +239,6 @@
<implements
interface="zope.app.annotation.interfaces.IAttributeAnnotatable"/>
- <implements
- interface="zope.app.container.interfaces.IContentContainer" />
-
<factory
id="bugtracker.Bug"
title="Bug"
Modified: Zope3/trunk/src/bugtracker/interfaces.py
===================================================================
--- Zope3/trunk/src/bugtracker/interfaces.py 2005-06-18 16:31:20 UTC (rev 30848)
+++ Zope3/trunk/src/bugtracker/interfaces.py 2005-06-18 16:31:38 UTC (rev 30849)
@@ -25,12 +25,11 @@
from zope.app.container.constraints import ContainerTypesConstraint
from zope.app.container.constraints import ItemTypePrecondition
from zope.app.container.interfaces import IContainer, IContained
-from zope.app.container.interfaces import IContentContainer
from zope.app.file.interfaces import IFile
from bugtracker import TrackerMessageID as _
-class IBugTracker(IContainer, IContentContainer):
+class IBugTracker(IContainer):
"""A Bug Tracker object represents a collection of bugs for a particular
software or subject.
@@ -174,7 +173,7 @@
"""A marker interface for objects that can serve as Bug attachments."""
-class IAttachmentContainer(IContainer, IContentContainer):
+class IAttachmentContainer(IContainer):
"""An object that contains attachments, i.e. comments and files."""
def __setitem__(name, object):
More information about the Zope3-Checkins
mailing list