[Zope3-checkins] CVS: Zope3/src/zope/app/workflow - service.py:1.11
Sidnei da Silva
cvs-admin at zope.org
Wed Oct 29 15:29:21 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/workflow
In directory cvs.zope.org:/tmp/cvs-serv23419/src/zope/app/workflow
Modified Files:
service.py
Log Message:
Whitespace cleaning
=== Zope3/src/zope/app/workflow/service.py 1.10 => 1.11 ===
--- Zope3/src/zope/app/workflow/service.py:1.10 Sun Sep 21 13:33:55 2003
+++ Zope3/src/zope/app/workflow/service.py Wed Oct 29 15:28:50 2003
@@ -150,21 +150,21 @@
def __init__(self, context):
self.workflows = getService(context, Workflows)
-
+
def __contains__(self, value):
return value in self.workflows.getProcessDefinitionNames()
-
+
def __iter__(self):
terms = map(lambda p: ProcessDefinitionTerm(p),
self.workflows.getProcessDefinitionNames())
return iter(terms)
-
+
def __len__(self):
return len(self.workflows.getProcessDefinitionNames())
-
+
def getQuery(self):
return None
-
+
def getTerm(self, value):
return ProcessDefinitionTerm(value)
More information about the Zope3-Checkins
mailing list