Skip to content

Commit

Permalink
Merge c126512 from 2.13 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed May 28, 2012
1 parent 30b54fd commit b5ebf7e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/App/CacheManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ def cache_detail(self, REQUEST=None):
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:
# raw
return detail
return '\n'.join(
['%6d %s' % (count, name) for name, count in detail])
# raw
return detail

def cache_extreme_detail(self, REQUEST=None):
"""
Expand Down

0 comments on commit b5ebf7e

Please sign in to comment.