[Zope3-checkins] CVS: Zope3/src/zope/app/workflow/stateful -
configure.zcml:1.7 definition.py:1.12
Philipp von Weitershausen
philikon at philikon.de
Wed Mar 3 05:39:30 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/workflow/stateful
In directory cvs.zope.org:/tmp/cvs-serv7814/workflow/stateful
Modified Files:
configure.zcml definition.py
Log Message:
Moved container interfaces from zope.app.interfaces.container to
zope.app.container.interfaces.
=== Zope3/src/zope/app/workflow/stateful/configure.zcml 1.6 => 1.7 ===
--- Zope3/src/zope/app/workflow/stateful/configure.zcml:1.6 Fri Feb 27 11:50:39 2004
+++ Zope3/src/zope/app/workflow/stateful/configure.zcml Wed Mar 3 05:38:59 2004
@@ -19,7 +19,7 @@
/>
<require
permission="zope.workflow.ManageProcessDefinitions"
- interface="zope.app.interfaces.container.IReadContainer"
+ interface="zope.app.container.interfaces.IReadContainer"
/>
<implements
interface="zope.app.interfaces.annotation.IAttributeAnnotatable"
=== Zope3/src/zope/app/workflow/stateful/definition.py 1.11 => 1.12 ===
--- Zope3/src/zope/app/workflow/stateful/definition.py:1.11 Fri Feb 27 11:50:40 2004
+++ Zope3/src/zope/app/workflow/stateful/definition.py Wed Mar 3 05:38:59 2004
@@ -22,7 +22,7 @@
from persistent.dict import PersistentDict
from zope.interface import implements
-from zope.app.interfaces.container import IReadContainer
+from zope.app.container.interfaces import IReadContainer
from zope.app.workflow.interfaces.stateful import IStatefulProcessDefinition
from zope.app.workflow.interfaces.stateful import IState, ITransition, INITIAL
from zope.app.workflow.interfaces.stateful import IStatefulStatesContainer
@@ -245,22 +245,22 @@
return self.get(key) is not None
def __iter__(self):
- """See zope.app.interfaces.container.IReadContainer"""
+ """See zope.app.container.interfaces.IReadContainer"""
return iter(self.keys())
def keys(self):
- """See zope.app.interfaces.container.IReadContainer"""
+ """See zope.app.container.interfaces.IReadContainer"""
return ['states', 'transitions']
def values(self):
- """See zope.app.interfaces.container.IReadContainer"""
+ """See zope.app.container.interfaces.IReadContainer"""
return map(self.get, self.keys())
def items(self):
- """See zope.app.interfaces.container.IReadContainer"""
+ """See zope.app.container.interfaces.IReadContainer"""
return [(key, self.get(key)) for key in self.keys()]
def __len__(self):
- """See zope.app.interfaces.container.IReadContainer"""
+ """See zope.app.container.interfaces.IReadContainer"""
return 2
More information about the Zope3-Checkins
mailing list