Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Dev
Re: cache_detail crash
 

Index | Next | Previous | View Flat


alga at pov

Sep 22, 2011, 2:05 AM


Views: 244
Permalink
Re: cache_detail crash [In reply to]

On Thu, Sep 22, 2011 at 12:59:43PM +0400, Ruslan Mahmatkhanov wrote:
> Ok, this change works for me.
>
> It should be applied against src/App/CacheManager.py.
> Would you mind to commit it?

> REQUEST.RESPONSE.setHeader('Content-Type', 'text/plain')
> - return '\n'.join('%6d %s'%(count, name) for count, name in detail)
> + return '\n'.join('%s %6d'%(count, name) for count, name in detail)

This doesn't look right! So count is %s, and name is %d? Perhaps
their order in detail changed?

Albertas
_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope )

Subject User Time
cache_detail crash cvs-src at yandex Sep 22, 2011, 1:21 AM
    Re: cache_detail crash hanno at hannosch Sep 22, 2011, 1:34 AM
    Re: cache_detail crash cvs-src at yandex Sep 22, 2011, 1:59 AM
        Re: cache_detail crash alga at pov Sep 22, 2011, 2:05 AM
            Re: cache_detail crash cvs-src at yandex Sep 22, 2011, 2:10 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.