/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 bzrlib/shellcomplete.py

  • Committer: Richard Wilbur
  • Date: 2016-02-04 19:07:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6618.
  • Revision ID: richard.wilbur@gmail.com-20160204190728-p0zvfii6zase0fw7
Update COPYING.txt from the original http://www.gnu.org/licenses/gpl-2.0.txt  (Only differences were in whitespace.)  Thanks to Petr Stodulka for pointing out the discrepancy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
        outfile = sys.stdout
36
36
 
37
37
    from inspect import getdoc
38
 
    from . import commands
 
38
    import commands
39
39
    cmdobj = commands.get_cmd_object(cmdname)
40
40
 
41
41
    doc = getdoc(cmdobj)
57
57
            outfile.write('--%s\n' % opt.name)
58
58
 
59
59
 
60
 
def shellcomplete_commands(outfile=None):
 
60
def shellcomplete_commands(outfile = None):
61
61
    """List all commands"""
62
 
    from . import commands
 
62
    from bzrlib import commands
63
63
    from inspect import getdoc
64
64
 
65
65
    commands.install_bzr_command_hooks()