[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/wfmc/xpdl2zcml.py
Changed to not use a leading dot in the factory,
Jim Fulton
jim at zope.com
Thu Feb 24 17:09:58 EST 2005
Log message for revision 29288:
Changed to not use a leading dot in the factory,
since the pid needs to be a dotted name, and it will
probably be the package name.
Changed:
U Zope3/trunk/src/zope/app/wfmc/xpdl2zcml.py
-=-
Modified: Zope3/trunk/src/zope/app/wfmc/xpdl2zcml.py
===================================================================
--- Zope3/trunk/src/zope/app/wfmc/xpdl2zcml.py 2005-02-24 20:10:05 UTC (rev 29287)
+++ Zope3/trunk/src/zope/app/wfmc/xpdl2zcml.py 2005-02-24 22:09:57 UTC (rev 29288)
@@ -54,7 +54,7 @@
<adapter
for="zope.wfmc.interfaces.IActivity"
provides="zope.wfmc.interfaces.IParticipant"
- factory=".%s.%s"
+ factory="%s.%s"
name="%s.%s"
/>
""" % (participant.__name__, pid, participant.id, pid, participant.id)
@@ -82,8 +82,8 @@
<!-- %s -->
<adapter
for="zope.wfmc.interfaces.IParticipant"
- provides="zope.wfmc.interfaces.IWorkitem"
- factory=".%s.%s"
+ provides="zope.wfmc.interfaces.IWorkItem"
+ factory="%s.%s"
name="%s.%s"
/>
""" % (descr, pid, application.id, pid, application.id)
More information about the Zope3-Checkins
mailing list