[Zope-Checkins] CVS: Zope/lib/python/Products/ZCatalog - Catalog.py:1.74.4.4
Andreas Jung
andreas@zope.com
Thu, 27 Sep 2001 15:09:00 -0400
Update of /cvs-repository/Zope/lib/python/Products/ZCatalog
In directory cvs.zope.org:/tmp/cvs-serv11928/lib/python/Products/ZCatalog
Modified Files:
Tag: Zope-2_4-branch
Catalog.py
Log Message:
- Fixed bad interaction between ZCatalog and dtml-in (submitted by
Steve Alexander)
=== Zope/lib/python/Products/ZCatalog/Catalog.py 1.74.4.3 => 1.74.4.4 ===
lower(so) in ('reverse', 'descending')):
r.reverse()
- r=LazyCat(map(lambda i: i[1], r), len(r))
+
+ r=map(lambda i: i[1], r)
+ r=LazyCat(r, reduce(lambda x,y: x+len(y), r, 0))
return r