lp:usn-tool

Created by USN Tool Team and last modified
Get this branch:
bzr branch lp:usn-tool
Members of USN Tool Team can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
USN Tool Team
Project:
USN Tool
Status:
Mature

Recent revisions

131. By Steve Beattie

The usn-tool repository has been converted to git.

To get the converted repository, please use:
  git clone https://git.launchpad.net/usn-tool

130. By Steve Beattie

usn.py: update for cosmic release

129. By Steve Beattie

usn.py: update for bionic release

128. By Steve Beattie

usn.py/test.py: make py3 compliant, modernize code a bit

127. By Tyler Hicks

templates/webpage-markdown.txt: Update markdown sanitization

Thanks to Will Moggridge!

126. By Tyler Hicks

templates/webpage-markdown.txt: Update comment about the purpose

125. By Steve Beattie

usn.py: add reference to problematic USN for future testing

124. By Steve Beattie

usn.py: add gross hack to not encode template output on old python

When LANG=C is set, modern python 2.7+genshi will fail if the output is
not encoded as utf-8. On old python, it fails if it is encoded
regardless of LANG setting. So add a gross hack that skips encoding if
the python version is older than 2.7.6 (trusty's python).

123. By Steve Beattie

usn.py: coding style cleanups, use with statements

122. By Steve Beattie

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').

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.