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

  • Committer: Jelmer Vernooij
  • Date: 2018-11-17 00:47:52 UTC
  • mfrom: (7182 work)
  • mto: This revision was merged to the branch mainline in revision 7305.
  • Revision ID: jelmer@jelmer.uk-20181117004752-6ywampe5pfywlby4
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
        if outfilename == "-":
90
90
            outfile = sys.stdout
91
91
        else:
92
 
            outfile = open(outfilename,"w")
 
92
            outfile = open(outfilename, "w")
93
93
        if options.show_filename and (outfilename != "-"):
94
94
            sys.stdout.write(outfilename)
95
95
            sys.stdout.write('\n')
102
102
    Prints out the examples stored in the docstring. 
103
103
 
104
104
    """
105
 
    sys.stdout.write(__doc__ % {"prog":sys.argv[0]})
 
105
    sys.stdout.write(__doc__ % {"prog": sys.argv[0]})
106
106
    sys.stdout.write('\n')
107
107
    sys.exit(0)
108
108