~matsubara/python-oops-datedir-repo/improve-db-statement-matches

« back to all changes in this revision

Viewing changes to oops_datedir_repo/serializer_rfc822.py

  • Committer: Robert Collins
  • Date: 2011-08-17 00:40:00 UTC
  • Revision ID: robertc@robertcollins.net-20110817004000-qze3fzjppdheelam
and escape tb_text too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
197
197
                start, end, database_id, _normalise_whitespace(statement)))
198
198
        chunks.append('\n')
199
199
    if 'tb_text' in report:
200
 
        chunks.append(report['tb_text'])
 
200
        chunks.append(_safestr(report['tb_text']))
201
201
    return chunks
202
202
 
203
203