~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/shellcomplete.py

  • Committer: Martin Pool
  • Date: 2009-03-24 05:21:02 UTC
  • mfrom: (4192 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4202.
  • Revision ID: mbp@sourcefrog.net-20090324052102-8kk087b32tep3d9h
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
    import inspect
60
60
    import commands
61
61
    from inspect import getdoc
62
 
    
 
62
 
63
63
    if outfile is None:
64
64
        outfile = sys.stdout
65
 
    
 
65
 
66
66
    cmds = []
67
67
    for cmdname, cmdclass in commands.get_all_cmds():
68
68
        cmds.append((cmdname, cmdclass))