/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugin.py

  • Committer: Breezy landing bot
  • Author(s): Martin
  • Date: 2017-06-10 23:10:27 UTC
  • mfrom: (6677.1.6 py3_crash_debug_trace)
  • Revision ID: breezy.the.bot@gmail.com-20170610231027-rmnb6npg1qb049fx
Make tests pass on Python 3 for crash, debug, and trace modules

Merged from https://code.launchpad.net/~gz/brz/py3_crash_debug_trace/+merge/325445

Show diffs side-by-side

added added

removed removed

Lines of Context:
441
441
    return result
442
442
 
443
443
 
444
 
def format_concise_plugin_list():
 
444
def format_concise_plugin_list(state=None):
445
445
    """Return a string holding a concise list of plugins and their version.
446
446
    """
 
447
    if state is None:
 
448
        state = breezy.global_state
447
449
    items = []
448
 
    for name, a_plugin in sorted(plugins().items()):
 
450
    for name, a_plugin in sorted(state.plugins.items()):
449
451
        items.append("%s[%s]" %
450
452
            (name, a_plugin.__version__))
451
453
    return ', '.join(items)