~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/generate_release_notes.py

  • Committer: Andrew Bennetts
  • Date: 2010-10-13 00:26:41 UTC
  • mto: This revision was merged to the branch mainline in revision 5498.
  • Revision ID: andrew.bennetts@canonical.com-20101013002641-9tlh9k89mlj1666m
Keep docs-plain working.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
 
52
52
 
53
53
.. toctree::
54
 
   :maxdepth: 2
 
54
   :maxdepth: 1
55
55
 
56
56
"""
57
57
 
117
117
    out_file_name = args[0]
118
118
    news_file_names = sorted(args[1:], key=natural_sort_key, reverse=True)
119
119
 
120
 
    if os.path.basename(out_file_name) == 'index.txt':
 
120
    if out_file_name == 'index.txt':
121
121
        preamble = preamble_sphinx
122
122
        output_news_file = output_news_file_sphinx
123
123
    else: