[Zope3-checkins] CVS: Zope3/src/zope/app/browser/workflow/stateful
- instance.py:1.9.4.1
Jim Fulton
jim at zope.com
Mon Sep 8 15:22:04 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/browser/workflow/stateful
In directory cvs.zope.org:/tmp/cvs-serv20092/src/zope/app/browser/workflow/stateful
Modified Files:
Tag: parentgeddon-branch
instance.py
Log Message:
Checking in work in progress on parentgeddon-branch so Fred can help
me to get the tests passing. Specific log entries will be provided
when we merge this into the head.
=== Zope3/src/zope/app/browser/workflow/stateful/instance.py 1.9 => 1.9.4.1 ===
--- Zope3/src/zope/app/browser/workflow/stateful/instance.py:1.9 Thu Aug 21 16:10:30 2003
+++ Zope3/src/zope/app/browser/workflow/stateful/instance.py Mon Sep 8 14:21:32 2003
@@ -23,8 +23,6 @@
from zope.app.interfaces.workflow import IProcessInstanceContainerAdaptable
from zope.app.services.servicenames import Workflows
from zope.component import getAdapter, getService
-from zope.context import getWrapperData
-from zope.interface import Interface
from zope.proxy import removeAllProxies
from zope.publisher.browser import BrowserView
from zope.security.proxy import trustedRemoveSecurityProxy
@@ -104,8 +102,7 @@
def _getTitle(self, obj):
- return (getAdapter(obj, IZopeDublinCore).title
- or getWrapperData(obj)['name'])
+ return (getAdapter(obj, IZopeDublinCore).title or obj.__name___)
def _getSelWorkflow(self):
More information about the Zope3-Checkins
mailing list