/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: 2020-05-24 00:42:36 UTC
  • mto: This revision was merged to the branch mainline in revision 7505.
  • Revision ID: jelmer@jelmer.uk-20200524004236-jdj6obo4k5lznqw2
Cleanup Windows functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
    state.plugins = {}
77
77
 
78
78
 
79
 
def load_plugins(path=None, state=None, warn_load_problems=True):
 
79
def load_plugins(path=None, state=None):
80
80
    """Load breezy plugins.
81
81
 
82
82
    The environment variable BRZ_PLUGIN_PATH is considered a delimited
103
103
    if (None, 'entrypoints') in _env_plugin_path():
104
104
        _load_plugins_from_entrypoints(state)
105
105
    state.plugins = plugins()
106
 
    if warn_load_problems:
107
 
        for plugin, errors in state.plugin_warnings.items():
108
 
            for error in errors:
109
 
                trace.warning('%s', error)
110
106
 
111
107
 
112
108
def _load_plugins_from_entrypoints(state):