summaryrefslogtreecommitdiff
path: root/www/zope213/files/patch-src-App_CacheManager.py
blob: 534c19575321f39810eca5b1436c70ed1d1816e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ZMI ControlPanel DTML Bug
https://bugs.launchpad.net/zope2/+bug/838978

--- src/App/CacheManager.py.orig	2011-09-22 12:52:48.000000000 +0400
+++ src/App/CacheManager.py	2011-09-22 13:09:20.000000000 +0400
@@ -102,7 +102,7 @@
         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)
+            return '\n'.join('%6d %s'%(count, name) for name, count in detail)
         else:
             # raw
             return detail