[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/utility - __init__.py:1.5
Fred L. Drake, Jr.
fred@zope.com
Tue, 1 Jul 2003 15:04:00 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/services/utility
In directory cvs.zope.org:/tmp/cvs-serv24564
Modified Files:
__init__.py
Log Message:
Use getParent() instead of getWrapperContainer(); it's easier to
decipher what's happening.
=== Zope3/src/zope/app/browser/services/utility/__init__.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/services/utility/__init__.py:1.4 Tue Jul 1 14:58:07 2003
+++ Zope3/src/zope/app/browser/services/utility/__init__.py Tue Jul 1 15:03:59 2003
@@ -188,7 +188,7 @@
class ConfigureUtility(BrowserView):
def update(self):
- folder = zapi.getWrapperContainer(self.context)
+ folder = zapi.getParent(self.context)
iface = folder.resolve(self.request['interface'])
name = self.request['name']
cr = self.context.queryRegistrations(name, iface)