/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tools/generate_release_notes.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-05-04 15:41:16 UTC
  • mfrom: (6926.2.17 tree-reference-fixes)
  • Revision ID: breezy.the.bot@gmail.com-20180504154116-wcevgfi1gl5nfbdc
Several changes to help foreign branch use of tree references.

Merged from https://code.launchpad.net/~jelmer/brz/tree-reference-fixes/+merge/342059

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
 
87
87
 
88
88
def output_news_file_plain(out_file, news_file_name):
89
 
    with open(news_file_name, 'rb') as f:
 
89
    with open(news_file_name, 'r') as f:
90
90
        lines = f.readlines()
91
91
    title = os.path.basename(news_file_name)[len('brz-'):-len('.txt')]
92
92
    for line in lines: