/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: Jelmer Vernooij
  • Date: 2018-11-06 01:18:08 UTC
  • mfrom: (7143 work)
  • mto: This revision was merged to the branch mainline in revision 7151.
  • Revision ID: jelmer@jelmer.uk-20181106011808-y870f4vq0ork3ahu
Merge trunk.

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)