~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/testing/__init__.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-08-16 20:38:35 UTC
  • mfrom: (13686.2.17 useoops)
  • Revision ID: launchpad@pqm.canonical.com-20110816203835-4q78rt0xz6zzuyka
[r=gmb][no-qa] More oops extraction. New deps oops-0.0.5
 oops-datedir-repo-0.0.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
    )
84
84
from bzrlib.transport import get_transport
85
85
import fixtures
86
 
import oops.serializer_rfc822
 
86
import oops_datedir_repo.serializer_rfc822
87
87
import pytz
88
88
import simplejson
89
89
from storm.expr import Variable
556
556
        if len(self.oopses) > 0:
557
557
            for (i, report) in enumerate(self.oopses):
558
558
                content = Content(UTF8_TEXT,
559
 
                        partial(oops.serializer_rfc822.to_chunks, report))
 
559
                    partial(oops_datedir_repo.serializer_rfc822.to_chunks,
 
560
                    report))
560
561
                self.addDetail("oops-%d" % i, content)
561
562
 
562
563
    def attachLibrarianLog(self, fixture):