~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-08-30 03:27:06 UTC
  • Revision ID: mbp@sourcefrog.net-20050830032706-00f774dc9b37a82c
- additional fix for bzr plugins
  patch from lalo

Show diffs side-by-side

added added

removed removed

Lines of Context:
1654
1654
        for plugin in bzrlib.plugin.all_plugins:
1655
1655
            if hasattr(plugin, '__path__'):
1656
1656
                print plugin.__path__[0]
 
1657
            elif hasattr(plugin, '__file__'):
 
1658
                print plugin.__file__
1657
1659
            else:
1658
1660
                print `plugin`
 
1661
                
1659
1662
            d = getdoc(plugin)
1660
1663
            if d:
1661
1664
                print '\t', d.split('\n')[0]
1662
1665
 
1663
 
        #pprint(bzrlib.plugin.all_plugins)
1664
 
 
1665
1666
 
1666
1667
 
1667
1668
# list of all available options; the rhs can be either None for an