~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/shellcomplete.py

(jelmer) Use the absolute_import feature everywhere in bzrlib,
 and add a source test to make sure it's used everywhere. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
 
60
60
def shellcomplete_commands(outfile = None):
61
61
    """List all commands"""
62
 
    from bzrlib import commands
 
62
    import inspect
 
63
    import commands
63
64
    from inspect import getdoc
64
65
 
65
66
    commands.install_bzr_command_hooks()