~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/doc_generate/autodoc_bash_completion.py

Minor pep8 cleanups to previous revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/python
2
 
 
3
1
# Copyright 2005 Canonical Ltd.
4
2
# Written by Hans Ulrich Niedermann
5
3
 
17
15
# along with this program; if not, write to the Free Software
18
16
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
17
 
20
 
"big_bash_completion.py - create bash completion script from built-in bzr help"
 
18
"bash_completion.py - create bash completion script from built-in bzr help"
21
19
 
22
20
import os
23
21
import sys
27
25
import bzrlib.help
28
26
import bzrlib.commands
29
27
 
 
28
 
30
29
def get_filename(options):
31
30
    return "%s.bash_completion" % (options.bzr_name)
32
31
 
52
51
#
53
52
# Generation time: %(timestamp)s
54
53
"""
 
54