/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to breezy/plugin.py

Switch --coverage to use coverage module.

Merged from https://code.launchpad.net/~jelmer/brz/coverage-coverage/+merge/345192

Show diffs side-by-side

added added

removed removed

Lines of Context:
463
463
    if state is None:
464
464
        state = breezy.get_global_state()
465
465
    items = []
466
 
    for name, a_plugin in sorted(state.plugins.items()):
 
466
    for name, a_plugin in sorted(getattr(state, 'plugins', {}).items()):
467
467
        items.append("%s[%s]" %
468
468
            (name, a_plugin.__version__))
469
469
    return ', '.join(items)