SVN: Zope/trunk/src/App/CacheManager.py Merge c126512 from 2.13 branch
Hano Schlichting <[email protected]> Mon, 28 May 2012 08:48:55 -0400 (EDT)
| Newsgroups | gmane.comp.web.zope.cvs |
|---|---|
| Message-ID | <[email protected]> |
Log message for revision 126513:
Merge c126512 from 2.13 branch
Changed:
U Zope/trunk/src/App/CacheManager.py
-=-
Modified: Zope/trunk/src/App/CacheManager.py
===================================================================
--- Zope/trunk/src/App/CacheManager.py 2012-05-28 12:48:01 UTC (rev 126512)
+++ Zope/trunk/src/App/CacheManager.py 2012-05-28 12:48:52 UTC (rev 126513)
@@ -97,10 +97,10 @@
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):
"""
_______________________________________________
Zope-Checkins maillist - [email protected]
https://mail.zope.org/mailman/listinfo/zope-checkins