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/. ...@@ -8,6 +8,8 @@ http://docs.zope.org/zope2/releases/.
2.13.14 (unreleased) 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. - Cleanup lock and pid files if the process dies early in startup.
- Added PubStart, PubBeforeCommit and PubAfterTraversal events to the - Added PubStart, PubBeforeCommit and PubAfterTraversal events to the
......
...@@ -102,10 +102,10 @@ class CacheManager: ...@@ -102,10 +102,10 @@ class CacheManager:
if REQUEST is not None: if REQUEST is not None:
# format as text # format as text
REQUEST.RESPONSE.setHeader('Content-Type', 'text/plain') REQUEST.RESPONSE.setHeader('Content-Type', 'text/plain')
return '\n'.join('%6d %s'%(count, name) for count, name in detail) return '\n'.join(
else: ['%6d %s' % (count, name) for name, count in detail])
# raw # raw
return detail return detail
def cache_extreme_detail(self, REQUEST=None): def cache_extreme_detail(self, REQUEST=None):
""" """
......
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