[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - connection.py:1.7
Guido van Rossum
guido@python.org
Wed, 23 Apr 2003 17:06:08 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv18701
Modified Files:
connection.py
Log Message:
Add missing import. Remove resolved XXX comment.
=== Zope3/src/zope/app/browser/services/connection.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/browser/services/connection.py:1.6 Tue Apr 22 18:17:38 2003
+++ Zope3/src/zope/app/browser/services/connection.py Wed Apr 23 17:06:07 2003
@@ -20,6 +20,7 @@
from zope.app.interfaces.services.configuration import IUseConfiguration
from zope.component import getAdapter, getServiceManager, getView
from zope.publisher.browser import BrowserView
+from zope.app.traversing import traverse
class Connections(BrowserView):
@@ -59,7 +60,6 @@
component = self.context
useconfig = getAdapter(component, IUseConfiguration)
result = []
- # XXX Somehow this always returns an empty list
for path in useconfig.usages():
config = traverse(component, path)
url = getView(config, 'absolute_url', self.request)