Commit 28670544 authored by Hanno Schlichting's avatar Hanno Schlichting

LP #838978: Fixed TypeError in cache_detail ZMI view.

parent 7e0a4c5a
......@@ -8,6 +8,8 @@ http://docs.zope.org/zope2/releases/.
2.13.14 (unreleased)
--------------------
- LP #838978: Fixed TypeError in cache_detail ZMI view.
- Cleanup lock and pid files if the process dies early in startup.
- Added PubStart, PubBeforeCommit and PubAfterTraversal events to the
......
......@@ -102,8 +102,8 @@ class CacheManager:
if REQUEST is not None:
# format as text
REQUEST.RESPONSE.setHeader('Content-Type', 'text/plain')
return '\n'.join('%6d %s'%(count, name) for count, name in detail)
else:
return '\n'.join(
['%6d %s' % (count, name) for name, count in detail])
# raw
return detail
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment