~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/profile/profile.py

  • Committer: Robert Collins
  • Date: 2011-08-15 09:21:48 UTC
  • mto: This revision was merged to the branch mainline in revision 13707.
  • Revision ID: robertc@robertcollins.net-20110815092148-amubslz89npvf3a6
Update to oops 0.0.4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
from bzrlib import errors
22
22
from bzrlib import lsprof
23
 
import oops.serializer_rfc822
 
23
import oops_datedir_repo.serializer_rfc822
24
24
from zope.pagetemplate.pagetemplatefile import PageTemplateFile
25
25
from zope.app.publication.interfaces import IEndRequestEvent
26
26
from zope.component import (
328
328
            # Generate rfc822 OOPS result (might be nice to have an html
329
329
            # serializer..).
330
330
            template_context['oops'] = ''.join(
331
 
                    oops.serializer_rfc822.to_chunks(oops_report))
 
331
                oops_datedir_repo.serializer_rfc822.to_chunks(oops_report))
332
332
            # Generate profile summaries.
333
333
            prof_stats.strip_dirs()
334
334
            for name in ('time', 'cumulative', 'calls'):