[Zope-Checkins] SVN: Zope/trunk/src/Products/ZCatalog/ZCatalog.py Include a timestamp in the plan
Hanno Schlichting
hannosch at hannosch.eu
Mon Aug 2 16:17:08 EDT 2010
Log message for revision 115387:
Include a timestamp in the plan
Changed:
U Zope/trunk/src/Products/ZCatalog/ZCatalog.py
-=-
Modified: Zope/trunk/src/Products/ZCatalog/ZCatalog.py
===================================================================
--- Zope/trunk/src/Products/ZCatalog/ZCatalog.py 2010-08-02 20:14:54 UTC (rev 115386)
+++ Zope/trunk/src/Products/ZCatalog/ZCatalog.py 2010-08-02 20:17:07 UTC (rev 115387)
@@ -885,6 +885,7 @@
"""Get a string representation of a query plan"""
plan = PriorityMap.get_plan()
output = []
+ output.append('# query plan dumped at %r\n' % time.asctime())
output.append('queryplan = {')
for querykey, details in sorted(plan.items()):
output.append(' %s: {' % repr(querykey))
More information about the Zope-Checkins
mailing list