/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-11-16 19:38:57 UTC
  • mfrom: (7143.16.21 even-more-cleanups)
  • Revision ID: breezy.the.bot@gmail.com-20181116193857-bs5oma2655sp55qu
Fix another dozen flake8 errors.

Merged from https://code.launchpad.net/~jelmer/brz/even-more-cleanups/+merge/358931

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