~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/testing/__init__.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:
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):