[Checkins]
SVN: zope.introspector/trunk/src/zope/introspector/viewinfo.py
Make viewinfo a bit more readable/comprehensible. The use of
map was rather
Martijn Faassen
faassen at infrae.com
Thu Jul 17 15:33:36 EDT 2008
Log message for revision 88463:
Make viewinfo a bit more readable/comprehensible. The use of map was rather
hard to understand here.
Changed:
U zope.introspector/trunk/src/zope/introspector/viewinfo.py
-=-
Modified: zope.introspector/trunk/src/zope/introspector/viewinfo.py
===================================================================
--- zope.introspector/trunk/src/zope/introspector/viewinfo.py 2008-07-17 19:17:52 UTC (rev 88462)
+++ zope.introspector/trunk/src/zope/introspector/viewinfo.py 2008-07-17 19:33:35 UTC (rev 88463)
@@ -34,7 +34,7 @@
alsoProvides(request, layer)
sm = component.getSiteManager()
return sm.adapters.lookupAll(
- map(providedBy, (self.context, request)),
+ (providedBy(self.context), providedBy(request)),
Interface)
def getAllViews(self):
More information about the Checkins
mailing list