~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: John Arbash Meinel
  • Date: 2005-07-12 21:47:20 UTC
  • mto: (1185.11.1)
  • mto: This revision was merged to the branch mainline in revision 1396.
  • Revision ID: john@arbash-meinel.com-20050712214719-cdd96de34a240837
merging mainline patch 908, plugins have tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1425
1425
    hidden = True
1426
1426
    def run(self):
1427
1427
        import bzrlib.plugin
 
1428
        from inspect import getdoc
1428
1429
        from pprint import pprint
1429
 
        pprint(bzrlib.plugin.all_plugins)
 
1430
        for plugin in bzrlib.plugin.all_plugins:
 
1431
            print plugin.__path__[0]
 
1432
            d = getdoc(plugin)
 
1433
            if d:
 
1434
                print '\t', d.split('\n')[0]
 
1435
 
 
1436
        #pprint(bzrlib.plugin.all_plugins)
1430
1437
 
1431
1438
 
1432
1439