/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/package_docs.py

  • Committer: Jelmer Vernooij
  • Date: 2020-05-06 02:13:25 UTC
  • mfrom: (7490.7.21 work)
  • mto: This revision was merged to the branch mainline in revision 7501.
  • Revision ID: jelmer@jelmer.uk-20200506021325-awbmmqu1zyorz7sj
Merge 3.1 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/python
 
1
#!/usr/bin/python3
2
2
 
3
3
# Copyright 2009 Canonical Ltd.
4
4
#
48
48
 
49
49
    # Copy across the PDF docs, if any, including the quick ref card
50
50
    pdf_files = []
51
 
    quick_ref = os.path.join(src_html,
52
 
        '_static/%s/brz-%s-quick-reference.pdf' % (section, section))
 
51
    quick_ref = os.path.join(
 
52
        src_html, '_static/%s/brz-%s-quick-reference.pdf' % (section, section))
53
53
    if os.path.exists(quick_ref):
54
54
        pdf_files.append(quick_ref)
55
55
    src_pdf = os.path.join(src_build, 'latex')