~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugin.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-04-05 11:53:56 UTC
  • mfrom: (5753.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20110405115356-5d6k2moisuap7bi6
(jam) Merge 2.3 into bzr.dev, resolving some conflicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
451
451
    return result
452
452
 
453
453
 
 
454
def format_concise_plugin_list():
 
455
    """Return a string holding a concise list of plugins and their version.
 
456
    """
 
457
    items = []
 
458
    for name, a_plugin in sorted(plugins().items()):
 
459
        items.append("%s[%s]" %
 
460
            (name, a_plugin.__version__))
 
461
    return ', '.join(items)
 
462
 
 
463
 
 
464
 
454
465
class PluginsHelpIndex(object):
455
466
    """A help index that returns help topics for plugins."""
456
467