[Zope3-checkins] CVS: Zope3/src/zope/app/workflow - service.py:1.6
Guido van Rossum
guido@python.org
Thu, 19 Jun 2003 17:55:47 -0400
Update of /cvs-repository/Zope3/src/zope/app/workflow
In directory cvs.zope.org:/tmp/cvs-serv17984/zope/app/workflow
Modified Files:
service.py
Log Message:
Add a simple string attribute (typically a class variable)
'serviceType' to the IConfiguration interface, so that the bundle code
can legally get at this information, which it needs to call that
service's queryConfigurationsFor() method. Remove this info from the
ConfigurationStatusProperty class and constructor signature; this
class now gets this info from its configuration argument.
=== Zope3/src/zope/app/workflow/service.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/workflow/service.py:1.5 Fri Jun 6 15:29:05 2003
+++ Zope3/src/zope/app/workflow/service.py Thu Jun 19 17:55:46 2003
@@ -111,7 +111,9 @@
implements(IProcessDefinitionConfiguration)
- status = ConfigurationStatusProperty('Workflows')
+ serviceType = 'Workflows'
+
+ status = ConfigurationStatusProperty()
def getInterface(self):