[Zope3-checkins] CVS: Zope3/src/zope/app/browser/index/field -
control.py:1.5
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Aug 19 14:35:03 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/browser/index/field
In directory cvs.zope.org:/tmp/cvs-serv19346/browser/index/field
Modified Files:
control.py
Log Message:
Just to make it worth the effort, here is the rewrite of the Caching Service
to use local utilities. I am amazed how much cruft can go away. There are
still some dead chickens left that can be easily fixed by providing a
default overview screen for these services and remodeling the local utility
service a bit.
Jim,
noone has complained about the changes yet. Are you guys at ZC having a fit
with it? I think in general people just not use these components heavily
yet and it is no big deal to create them, since their data does not contain
much programming logic (i.e. they are easily recreated) and there are only
a few around ata time usually.
=== Zope3/src/zope/app/browser/index/field/control.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/index/field/control.py:1.4 Mon Aug 11 12:57:35 2003
+++ Zope3/src/zope/app/browser/index/field/control.py Tue Aug 19 13:33:59 2003
@@ -36,7 +36,7 @@
self.hub = getService(context, HubIds)
def interface_name(self):
- return interfaceToName(self.context.interface)
+ return interfaceToName(self.context, self.context.interface)
def query(self):
queryText = self.request.get('queryText', '')
More information about the Zope3-Checkins
mailing list