~usn-tool/usn-tool/trunk

Viewing all changes in revision 122.

  • Committer: Steve Beattie
  • Date: 2018-02-23 08:40:32 UTC
  • Revision ID: sbeattie@ubuntu.com-20180223084032-lzk02sncfod02dr0
usn.py: don't encode genshi's render_template as utf-8, causes failure on 12.04

Calling encode('utf-8') on the generated output from render_template()
fails on Ubuntu 12.04 due to either age of genshi or python, resulting
in utf-8 text breaking the generating and sending of USN emails.
This commit removes the call to encode('utf-8').

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: